aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-09 13:34:40 +0200
committerChocobozzz <me@florianbigard.com>2021-06-09 13:34:40 +0200
commit4ead40e7766f5964ecd9a11766ff56b95090fe1c (patch)
treef1fd6b2e1604c4025eae86fb87cf81daf609850f /client/src/app
parenta6a12dae10658a1fa7120ad39702c07137143954 (diff)
downloadPeerTube-4ead40e7766f5964ecd9a11766ff56b95090fe1c.tar.gz
PeerTube-4ead40e7766f5964ecd9a11766ff56b95090fe1c.tar.zst
PeerTube-4ead40e7766f5964ecd9a11766ff56b95090fe1c.zip
Cache refresh actor promise
Diffstat (limited to 'client/src/app')
-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