diff --git a/src/App.vue b/src/App.vue
index 29ad67698..d1ac8069e 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -93,7 +93,6 @@ export default {
},
methods: {
hideModal() {
- // this.$store.dispatch('setCardDetailsInModal', false)
this.$router.push({ name: 'board' })
},
},
diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue
index 4a0819243..524822053 100644
--- a/src/components/card/CardSidebar.vue
+++ b/src/components/card/CardSidebar.vue
@@ -26,9 +26,14 @@
:subtitle="subtitle"
:title-editable.sync="titleEditable"
@update:title="updateTitle"
+ :class="{ 'app-sidebar-modal': cardDetailsInModal}"
@close="closeSidebar">
-
+
+ {{ t('deck', 'Open in sidebar view') }}
+
+
+
{{ t('deck', 'Open in bigger view') }}
@@ -140,6 +145,7 @@ export default {
computed: {
...mapState({
currentBoard: state => state.currentBoard,
+ cardDetailsInModal: state => state.cardDetailsInModal,
}),
...mapGetters(['canEdit', 'assignables']),
attachments() {
@@ -384,6 +390,12 @@ export default {