Do not await confirmation request
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -191,8 +191,9 @@ export default {
|
|||||||
newCards.push(card)
|
newCards.push(card)
|
||||||
await commit('updateCardsReorder', newCards)
|
await commit('updateCardsReorder', newCards)
|
||||||
|
|
||||||
const cards = await apiClient.reorderCard(card)
|
apiClient.reorderCard(card).then((cards) => {
|
||||||
await commit('updateCardsReorder', Object.values(cards))
|
commit('updateCardsReorder', Object.values(cards))
|
||||||
|
})
|
||||||
},
|
},
|
||||||
async deleteCard({ commit }, card) {
|
async deleteCard({ commit }, card) {
|
||||||
await apiClient.deleteCard(card.id)
|
await apiClient.deleteCard(card.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user