aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/core/plugins/plugin.service.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/core/plugins/plugin.service.ts b/client/src/app/core/plugins/plugin.service.ts
index bfd5ba4cc..16108e17a 100644
--- a/client/src/app/core/plugins/plugin.service.ts
+++ b/client/src/app/core/plugins/plugin.service.ts
@@ -190,9 +190,9 @@ export class PluginService implements ClientHook {
190 }, 190 },
191 191
192 notifier: { 192 notifier: {
193 info: (text: string, title?: string, timeout?: number) => this.notifier.info(text, title, timeout), 193 info: (text: string, title?: string, timeout?: number) => this.zone.run(() => this.notifier.info(text, title, timeout)),
194 error: (text: string, title?: string, timeout?: number) => this.notifier.error(text, title, timeout), 194 error: (text: string, title?: string, timeout?: number) => this.zone.run(() => this.notifier.error(text, title, timeout)),
195 success: (text: string, title?: string, timeout?: number) => this.notifier.success(text, title, timeout) 195 success: (text: string, title?: string, timeout?: number) => this.zone.run(() => this.notifier.success(text, title, timeout))
196 }, 196 },
197 197
198 showModal: (input: { 198 showModal: (input: {
@@ -202,7 +202,7 @@ export class PluginService implements ClientHook {
202 cancel?: { value: string, action?: () => void }, 202 cancel?: { value: string, action?: () => void },
203 confirm?: { value: string, action?: () => void } 203 confirm?: { value: string, action?: () => void }
204 }) => { 204 }) => {
205 this.customModal.show(input) 205 this.zone.run(() => this.customModal.show(input))
206 }, 206 },
207 207
208 markdownRenderer: { 208 markdownRenderer: {