#7750 - first-beta-review #95
|
@ -771,8 +771,10 @@ const showItem = async item => {
|
|||
if (checkGuest()) return;
|
||||
|
||||
showItemDialog.value = true;
|
||||
const itemLots = await calcItem(item.id);
|
||||
const tags = await getItemTags(item.id);
|
||||
const [itemLots, tags] = await Promise.all([
|
||||
calcItem(item.id),
|
||||
getItemTags(item.id)
|
||||
]);
|
||||
item.lots = itemLots;
|
||||
item.tags = tags;
|
||||
selectedItem.value = item;
|
||||
|
|
Loading…
Reference in New Issue