feat: refs #6545 isTray
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Pablo Natek 2023-12-06 15:17:50 +01:00
parent 6c524932ee
commit 735eac5137
1 changed files with 3 additions and 3 deletions

View File

@ -11,8 +11,8 @@ const session = useSession();
const token = session.getToken(); const token = session.getToken();
const counters = ref({ const counters = ref({
alquilerBandeja: { count: 0, id: 96001, title: 'CC Bandeja' }, alquilerBandeja: { count: 0, id: 96001, title: 'CC Bandeja', isTray: true },
bandejaRota: { count: 0, id: 88381, title: 'CC Bandeja Rota' }, bandejaRota: { count: 0, id: 88381, title: 'CC Bandeja Rota', isTray: true },
carryOficial: { count: 0, id: 96000, title: 'CC Carry OFICIAL TAG5' }, carryOficial: { count: 0, id: 96000, title: 'CC Carry OFICIAL TAG5' },
candadoRojo: { count: 0, id: 96002, title: 'CC Carry NO OFICIAL' }, candadoRojo: { count: 0, id: 96002, title: 'CC Carry NO OFICIAL' },
sacadores: { count: 0, id: 142260, title: 'CC Sacadores' }, sacadores: { count: 0, id: 142260, title: 'CC Sacadores' },
@ -87,7 +87,7 @@ function confirm() {
color="warning" color="warning"
dense dense
size="sm" size="sm"
v-if="props.title === 'CC Bandeja'" v-if="props.isTray"
@click="handleEvent(name, 'addSpecific', 30)" @click="handleEvent(name, 'addSpecific', 30)"
> >
{{ t('Add 30') }} {{ t('Add 30') }}