diff --git a/src/pages/Ticket/Card/TicketSale.vue b/src/pages/Ticket/Card/TicketSale.vue index d5de60f16..6d3e6269d 100644 --- a/src/pages/Ticket/Card/TicketSale.vue +++ b/src/pages/Ticket/Card/TicketSale.vue @@ -425,7 +425,6 @@ const setTransferParams = async () => { onMounted(async () => { stateStore.rightDrawer = true; getConfig(); - getItems(); }); onUnmounted(() => (stateStore.rightDrawer = false)); @@ -433,11 +432,6 @@ onUnmounted(() => (stateStore.rightDrawer = false)); const items = ref([]); const newRow = ref({}); -async function getItems() { - const { data } = await axios.get(`Items/withName`); - items.value = data; -} - const updateItem = (row) => { const selectedItem = items.value.find((item) => item.id === row.itemFk); if (selectedItem) {