bugfix: fix race condition save/get quotes

This commit is contained in:
Settel 2022-03-15 07:18:40 +01:00
parent 4790dbf159
commit 48509a4beb

View File

@ -49,9 +49,9 @@ export default {
}
},
async saveQuote(quote) {
this.$engine.saveQuote(quote.id, quote.quote)
await this.$engine.getMyQuotes()
this.showCollectQuoteDialog = false
await this.$engine.saveQuote(quote.id, quote.quote)
await this.$engine.getMyQuotes()
},
createQuote() {
this.showCollectQuoteDialog = true