Skip to content

Commit 5b465cf

Browse files
committed
fix: expose table head scope in paginated table
1 parent ec07489 commit 5b465cf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/components-vue/src/components/pagination/ContentTable.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,18 @@
6060
},
6161
}"
6262
>
63-
<template v-if="emittedHasContent && $slots.headActions" #headActions>
63+
<template
64+
v-if="emittedHasContent && $slots.headActions"
65+
#headActions="headActionsScope"
66+
>
6467
<div
6568
key="internal-head-actions"
6669
class="flx --flxRow --flx-start-center --gap-10 --gap:md"
6770
>
6871
<slot
6972
name="headActions"
7073
v-bind="{
74+
...headActionsScope,
7175
refreshData,
7276
hasContent: emittedHasContent,
7377
hydrateData: emittedHydrateNodes,

0 commit comments

Comments
 (0)