From e9f863433467c46a6ea994e9e6de703b80a8686d Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 30 Aug 2022 14:40:05 +0200 Subject: [PATCH] disable Create card button while no stack is chosen make the `isBoardAndStackChoosen` method do what it says Signed-off-by: Robin Appelman --- src/CardCreateDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CardCreateDialog.vue b/src/CardCreateDialog.vue index 113e6e867..934e819a2 100644 --- a/src/CardCreateDialog.vue +++ b/src/CardCreateDialog.vue @@ -137,7 +137,7 @@ export default { }, computed: { isBoardAndStackChoosen() { - return !(this.selectedBoard === '') + return !(this.selectedBoard === '' || this.selectedStack === '') }, }, beforeMount() {