We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a392ef9 commit d44ab79Copy full SHA for d44ab79
packages/lib/src/components/MazCard.vue
@@ -32,10 +32,12 @@ defineEmits<{
32
'update:collapseOpen': [boolean]
33
}>()
34
35
+const isLinked = computed(() => !!href || !!to)
36
+
37
const DEFAULT_GALLERY_OPTIONS: MazGalleryProps = {
38
displayedCount: 3,
39
remaining: false,
- zoom: !href && !to,
40
+ zoom: !isLinked.value,
41
width: 200,
42
height: 150,
43
}
@@ -131,8 +133,6 @@ const footerAlignClass = computed(() =>
131
133
footerAlign === 'right' ? 'maz-text-end' : 'maz-text-start',
132
134
)
135
-const isLinked = computed(() => href || to)
-
136
function toggleCollapse() {
137
if (collapsible)
138
collapseOpenModel.value = !collapseOpenModel.value
0 commit comments