Skip to content

Why Slot props undefined when wrapped around v-if ? #6694

Discussion options

You must be logged in to vote

I'm sorry, it's line 31, not 35, in tableDataComponent.vue:

const hasActionSlot = computed(
  () => !!slots.action && slots.action().length > 0
);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lou-theo
Comment options

@LinusBorg
Comment options

Answer selected by lou-theo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants