0
0
Fork 0

fix: deleted code

This commit is contained in:
Jon Elias 2024-10-01 12:34:39 +02:00
parent 21edf4b5d9
commit 7b63bb38f2
1 changed files with 0 additions and 6 deletions

View File

@ -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) {