From 28a5522434226b505893561cbff1fe7857b09df5 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 10 Sep 2018 19:44:14 +0200 Subject: [PATCH] Better success messages when marking a task as done --- src/components/lists/ShowList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/lists/ShowList.vue b/src/components/lists/ShowList.vue index 60794153..31fe6050 100644 --- a/src/components/lists/ShowList.vue +++ b/src/components/lists/ShowList.vue @@ -110,7 +110,7 @@ break } } - this.handleSuccess({message: 'The task was successfully marked as done.'}) + this.handleSuccess({message: 'The task was successfully ' + (e.target.checked ? 'un-' :'') + 'marked as done.'}) }) .catch(e => { this.handleError(e)