Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: dont show empty placeholder in table selector of record templates modal

Ramesh Mane1b769c98d36c
diff --git a/packages/nc-gui/components/nc/List/TableSelector.vue b/packages/nc-gui/components/nc/List/TableSelector.vue
index 135647e3b9..f243cd9a29 100644
--- a/packages/nc-gui/components/nc/List/TableSelector.vue
+++ b/packages/nc-gui/components/nc/List/TableSelector.vue
@@ -194,7 +194,10 @@ defineExpose({
</div>
</template>
<template v-if="$slots.listHeader" #listHeader>
- <slot name="listHeader" />
+ <slot name="listHeader" :length="tableList.length" />
+ </template>
+ <template v-if="$slots.emptyState" #emptyState>
+ <slot name="emptyState" :length="tableList.length" />
</template>
</NcList>
</template>