bugfix: fix race condition save/get quotes
This commit is contained in:
parent
4790dbf159
commit
48509a4beb
@ -49,9 +49,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
async saveQuote(quote) {
|
async saveQuote(quote) {
|
||||||
this.$engine.saveQuote(quote.id, quote.quote)
|
|
||||||
await this.$engine.getMyQuotes()
|
|
||||||
this.showCollectQuoteDialog = false
|
this.showCollectQuoteDialog = false
|
||||||
|
await this.$engine.saveQuote(quote.id, quote.quote)
|
||||||
|
await this.$engine.getMyQuotes()
|
||||||
},
|
},
|
||||||
createQuote() {
|
createQuote() {
|
||||||
this.showCollectQuoteDialog = true
|
this.showCollectQuoteDialog = true
|
||||||
|
Loading…
Reference in New Issue
Block a user