From cb9276a6b01f6373007dda66fa9787fa969f25c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Schl=C3=BC=C3=9Fler?= Date: Sat, 5 Jan 2019 08:22:37 +0100 Subject: [PATCH] Add async keyword --- src/store/tasks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/tasks.js b/src/store/tasks.js index df153fed..5a9e6ac4 100644 --- a/src/store/tasks.js +++ b/src/store/tasks.js @@ -486,7 +486,7 @@ const actions = { context.dispatch('updateTask', task) }, - toggleStarred(context, task) { + async toggleStarred(context, task) { context.commit('toggleStarred', task) context.dispatch('updateTask', task) },