forked from verdnatura/salix-front
fix: deleted code
This commit is contained in:
parent
21edf4b5d9
commit
7b63bb38f2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue