diff options
Diffstat (limited to 'src/client/app/init.ts')
| -rw-r--r-- | src/client/app/init.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/init.ts b/src/client/app/init.ts index 7a74311098..e0eef935f5 100644 --- a/src/client/app/init.ts +++ b/src/client/app/init.ts @@ -460,7 +460,7 @@ export default (callback: (launch: (router: VueRouter) => [Vue, MiOS]) => void, alert(opts) { return new Promise((res) => { const vm = this.new(Alert, opts); - vm.$once('ok', () => res(true)); + vm.$once('ok', result => res(result)); vm.$once('cancel', () => res(false)); }); } |