Skip to content

Commit 3157a4d

Browse files
pdanpdanrstoenescu
authored andcommitted
Resolve hidePromise with evt (quasarframework#1191)
1 parent 418b000 commit 3157a4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mixins/model-toggle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default {
8585
}
8686

8787
if (!this.showing) {
88-
return this.hidePromise || Promise.resolve()
88+
return this.hidePromise || Promise.resolve(evt)
8989
}
9090

9191
if (this.showPromise) {
@@ -120,7 +120,7 @@ export default {
120120
})
121121

122122
this.__hide(evt)
123-
return this.hidePromise || Promise.resolve()
123+
return this.hidePromise || Promise.resolve(evt)
124124
}
125125
},
126126
beforeDestroy () {

0 commit comments

Comments
 (0)