fix(ZoneCard): fix ZoneLocations redirections
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-11-14 13:01:56 +01:00
parent 218d041000
commit 925ff859cc
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ function notIsLocations(ifIsFalse, ifIsTrue) {
:search-data-key="notIsLocations('ZoneList', 'ZoneLocations')" :search-data-key="notIsLocations('ZoneList', 'ZoneLocations')"
:custom-url="`Zones/${route.params?.id}/getLeaves`" :custom-url="`Zones/${route.params?.id}/getLeaves`"
:searchbar-props="{ :searchbar-props="{
url: notIsLocations('ZoneList', 'ZoneLocations'), url: notIsLocations('Zones', 'ZoneLocations'),
label: notIsLocations(t('list.searchZone'), t('list.searchLocation')), label: notIsLocations(t('list.searchZone'), t('list.searchLocation')),
info: t('list.searchInfo'), info: t('list.searchInfo'),
whereFilter: notIsLocations((value) => { whereFilter: notIsLocations((value) => {