Skip to content

Commit

Permalink
chore: 🔨 fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
megasanjay committed Jan 9, 2024
1 parent ffd22cb commit dcbde0a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/cards/CollapsibleCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ const props = defineProps({
},
});
// const slots = useSlots();
const slots = useSlots();
// const hasHeaderExtra = computed(() => {
// return !!slots["header-extra"];
// });
const hasHeaderExtra = computed(() => {
return !!slots["header-extra"];
});
const collapseContent = ref(false);
Expand All @@ -41,7 +41,6 @@ const toggleCollapse = () => {

<n-divider vertical v-if="hasHeaderExtra" class="!mx-3" />


<n-button text class="pl-5 text-3xl" type="info" @click="toggleCollapse">
<f-icon icon="fluent:arrow-minimize-vertical-24-filled" />
</n-button>
Expand Down

0 comments on commit dcbde0a

Please sign in to comment.