fix: refs #6919 use right data-key

This commit is contained in:
Jorge Penadés 2025-01-13 16:20:09 +01:00
parent 9ba7fec42f
commit 011344b761
4 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ const route = useRoute();
const stateStore = useStateStore(); const stateStore = useStateStore();
const { t } = useI18n(); const { t } = useI18n();
const salesRef = ref(null); const salesRef = ref(null);
const arrayData = useArrayData('ticketData'); const arrayData = useArrayData('Ticket');
const { store } = arrayData; const { store } = arrayData;
const ticketData = computed(() => store.data); const ticketData = computed(() => store.data);

View File

@ -40,7 +40,7 @@ const expeditionsFilter = computed(() => ({
order: ['created DESC'], order: ['created DESC'],
})); }));
const ticketArrayData = useArrayData('ticketData'); const ticketArrayData = useArrayData('Ticket');
const ticketStore = ticketArrayData.store; const ticketStore = ticketArrayData.store;
const ticketData = computed(() => ticketStore.data); const ticketData = computed(() => ticketStore.data);

View File

@ -35,7 +35,7 @@ const { openConfirmationModal } = useVnConfirm();
const editPriceProxyRef = ref(null); const editPriceProxyRef = ref(null);
const stateBtnDropdownRef = ref(null); const stateBtnDropdownRef = ref(null);
const quasar = useQuasar(); const quasar = useQuasar();
const arrayData = useArrayData('ticketData'); const arrayData = useArrayData('Ticket');
const { store } = arrayData; const { store } = arrayData;
const selectedRows = ref([]); const selectedRows = ref([]);
const hasSelectedRows = computed(() => selectedRows.value.length > 0); const hasSelectedRows = computed(() => selectedRows.value.length > 0);

View File

@ -42,7 +42,7 @@ const editableStates = ref([]);
const ticketUrl = ref(); const ticketUrl = ref();
const grafanaUrl = 'https://grafana.verdnatura.es'; const grafanaUrl = 'https://grafana.verdnatura.es';
const stateBtnDropdownRef = ref(); const stateBtnDropdownRef = ref();
const descriptorData = useArrayData('ticketData'); const descriptorData = useArrayData('Ticket');
onMounted(async () => { onMounted(async () => {
ticketUrl.value = (await getUrl('ticket/')) + entityId.value + '/'; ticketUrl.value = (await getUrl('ticket/')) + entityId.value + '/';