0
0
Fork 0

remove unecessary props

This commit is contained in:
Alex Moreno 2024-08-07 14:41:30 +02:00
parent 44e3eb779d
commit 2f7dd0a4cb
1 changed files with 1 additions and 10 deletions

View File

@ -17,9 +17,6 @@ const props = defineProps({
descriptor: { type: Object, required: true },
filterPanel: { type: Object, default: undefined },
searchDataKey: { type: String, default: undefined },
searchUrl: { type: String, default: undefined },
searchbarLabel: { type: String, default: '' },
searchbarInfo: { type: String, default: '' },
searchbar: { type: Object, default: undefined },
});
@ -63,13 +60,7 @@ if (props.baseUrl) {
</QScrollArea>
</QDrawer>
<slot name="searchbar" v-if="props.searchDataKey">
<VnSearchbar
:data-key="props.searchDataKey"
:url="props.searchUrl"
:label="props.searchbarLabel"
:info="props.searchbarInfo"
v-bind="$attrs['searchbar']"
/>
<VnSearchbar :data-key="props.searchDataKey" v-bind="$attrs['searchbar']" />
</slot>
<slot v-else name="searchbar" />
<RightMenu>