Small changes

This commit is contained in:
William Buezas 2024-06-04 15:10:00 -03:00
parent c96e6482f9
commit 946aa6b24d
4 changed files with 20 additions and 21 deletions

View File

@ -37,7 +37,11 @@ onBeforeMount(() => {
@on-fetch="(data) => (rolesOptions = data)"
auto-load
/>
<VnFilterPanel :data-key="props.dataKey" :search-button="true">
<VnFilterPanel
:data-key="props.dataKey"
:search-button="true"
:hidden-tags="['search']"
>
<template #tags="{ tag, formatFn }">
<div class="q-gutter-x-xs">
<strong>{{ t(`acls.aclFilter.${tag.label}`) }}: </strong>

View File

@ -9,13 +9,16 @@ import VnRow from 'components/ui/VnRow.vue';
import VnInput from 'src/components/common/VnInput.vue';
import FormModel from 'components/FormModel.vue';
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';
import VnSearchbar from 'components/ui/VnSearchbar.vue';
import { useValidator } from 'src/composables/useValidator';
import { useArrayData } from 'src/composables/useArrayData';
import { useStateStore } from 'stores/useStateStore';
const { t } = useI18n();
const route = useRoute();
const router = useRouter();
const stateStore = useStateStore();
const arrayData = useArrayData('aclCreate');
const { store } = arrayData;
const validationsStore = useValidator();
@ -67,6 +70,18 @@ onMounted(() => {
@on-fetch="(data) => (rolesOptions = data)"
auto-load
/>
<template v-if="stateStore.isHeaderMounted()">
<Teleport to="#searchbar">
<VnSearchbar
data-key="AccountAcls"
url="ACLs"
:expr-builder="exprBuilder"
:label="t('acls.search')"
:info="t('acls.searchInfo')"
custom-route-redirect-name="AccountAcls"
/>
</Teleport>
</template>
<QPage class="column items-center full-width">
<VnSubToolbar />
<FormModel

View File

@ -41,16 +41,6 @@ role:
description: Description
id: Id
name: Name
mailAlias:
pageTitles:
aliasUsers: Users
search: Search mail alias
searchInfo: Search alias by id or name
alias: Alias
description: Description
id: Id
newAlias: New alias
name: Name
ldap:
enableSync: Enable synchronization
server: Server

View File

@ -52,16 +52,6 @@ role:
description: Descripción
id: Idd
name: Nombre
mailAlias:
pageTitles:
aliasUsers: Usuarios
search: Buscar alias de correo
searchInfo: Buscar alias por id o nombre
alias: Alias
description: Descripción
id: Id
newAlias: Nuevo alias
name: Nombre
ldap:
enableSync: Habilitar sincronización
server: Servidor