We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4685ecd commit 4e1cc09Copy full SHA for 4e1cc09
1 file changed
src/components/card/CardSidebar.vue
@@ -26,7 +26,11 @@
26
:subtitle="subtitle"
27
@close="closeSidebar">
28
<template #secondary-actions>
29
- <ActionButton icon="icon-external" @click.stop="showModal()">
+ <ActionButton v-if="cardDetailsInModal" icon="icon-menu-sidebar" @click.stop="showModal()">
30
+ {{ t('deck', 'Open in sidebar view') }}
31
+ </ActionButton>
32
+
33
+ <ActionButton v-else icon="icon-external" @click.stop="showModal()">
34
{{ t('deck', 'Open in bigger view') }}
35
</ActionButton>
36
</template>
@@ -139,6 +143,7 @@ export default {
139
143
computed: {
140
144
...mapState({
141
145
currentBoard: state => state.currentBoard,
146
+ cardDetailsInModal: state => state.cardDetailsInModal,
142
147
}),
148
...mapGetters(['canEdit', 'assignables']),
149
attachments() {
0 commit comments