feat: refs #6891 add custom url

This commit is contained in:
Jorge Penadés 2024-05-07 10:12:35 +02:00
parent 111333a6cf
commit e9f5c0cc8d
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ const props = defineProps({
searchbarUrl: { type: String, default: undefined }, searchbarUrl: { type: String, default: undefined },
searchbarLabel: { type: String, default: '' }, searchbarLabel: { type: String, default: '' },
searchbarInfo: { type: String, default: '' }, searchbarInfo: { type: String, default: '' },
customRouteRedirectName: { type: String, default: undefined },
}); });
const { t } = useI18n(); const { t } = useI18n();
@ -58,6 +59,7 @@ if (props.baseUrl) {
:url="props.searchbarUrl" :url="props.searchbarUrl"
:label="t(props.searchbarLabel)" :label="t(props.searchbarLabel)"
:info="t(props.searchbarInfo)" :info="t(props.searchbarInfo)"
:custom-route-redirect-name="props.customRouteRedirectName"
/> />
</Teleport> </Teleport>
<QDrawer v-model="stateStore.leftDrawer" show-if-above :width="256"> <QDrawer v-model="stateStore.leftDrawer" show-if-above :width="256">