Why Slot props undefined when wrapped around v-if ? #6694
-
Hello there! Last week I posted this issue #6672 as it was recommended by a vuejs warning in devtools and @LinusBorg recommended to ask the question here instead. He says the problem comes from line 35 where I "call the slot's function without an argument on line 35" but I'm a little confuse as I don't see any file with a line 35 which could be relevant in my reproduction link. So I guess he wanted to talk about line 15 in my Can anyone help me understand what's wrong in my code ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I'm sorry, it's line 31, not 35, in tableDataComponent.vue: const hasActionSlot = computed(
() => !!slots.action && slots.action().length > 0
); |
Beta Was this translation helpful? Give feedback.
I'm sorry, it's line 31, not 35, in tableDataComponent.vue: