From 8bb5a766669e944997a761af39cbc285056d0687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 24 Jun 2020 20:07:51 +0200 Subject: [PATCH] Add setting to toggle between the modal and the sidebar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/App.vue | 7 ++++--- src/components/navigation/AppNavigation.vue | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 71dfb99da..29ad67698 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,13 +27,13 @@ - + - + @@ -93,7 +93,8 @@ export default { }, methods: { hideModal() { - this.$store.dispatch('setCardDetailsInModal', false) + // this.$store.dispatch('setCardDetailsInModal', false) + this.$router.push({ name: 'board' }) }, }, provide() { diff --git a/src/components/navigation/AppNavigation.vue b/src/components/navigation/AppNavigation.vue index 9da7f47c6..465eecbc6 100644 --- a/src/components/navigation/AppNavigation.vue +++ b/src/components/navigation/AppNavigation.vue @@ -51,6 +51,13 @@