forked from verdnatura/salix-front
remove unecessary props
This commit is contained in:
parent
44e3eb779d
commit
2f7dd0a4cb
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue