aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/shared/shared-custom-markup/custom-markup.service.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-custom-markup/custom-markup.service.ts b/client/src/app/shared/shared-custom-markup/custom-markup.service.ts
index 729cd296b..cb1110593 100644
--- a/client/src/app/shared/shared-custom-markup/custom-markup.service.ts
+++ b/client/src/app/shared/shared-custom-markup/custom-markup.service.ts
@@ -138,10 +138,10 @@ export class CustomMarkupService {
138 const component = this.dynamicElementService.createElement(ButtonMarkupComponent) 138 const component = this.dynamicElementService.createElement(ButtonMarkupComponent)
139 139
140 const model = { 140 const model = {
141 theme: data.theme, 141 theme: data.theme ?? 'primary',
142 href: data.href, 142 href: data.href,
143 label: data.label, 143 label: data.label,
144 blankTarget: this.buildBoolean(data.blankTarget) 144 blankTarget: this.buildBoolean(data.blankTarget) ?? false
145 } 145 }
146 this.dynamicElementService.setModel(component, model) 146 this.dynamicElementService.setModel(component, model)
147 147