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 { t } = useI18n();
const salesRef = ref(null);
const arrayData = useArrayData('ticketData');
const arrayData = useArrayData('Ticket');
const { store } = arrayData;
const ticketData = computed(() => store.data);

View File

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

View File

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

View File

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