Add await
This commit is contained in:
parent
8664f40e06
commit
101ac917a2
|
@ -709,7 +709,7 @@ const showItem = async item => {
|
||||||
if (isGuest.value) return;
|
if (isGuest.value) return;
|
||||||
|
|
||||||
const itemLots = await calcItem(item.id);
|
const itemLots = await calcItem(item.id);
|
||||||
const tags = getItemTags(item.id);
|
const tags = await getItemTags(item.id);
|
||||||
item.lots = itemLots;
|
item.lots = itemLots;
|
||||||
item.tags = tags;
|
item.tags = tags;
|
||||||
showItemDialog.value = true;
|
showItemDialog.value = true;
|
||||||
|
|
Loading…
Reference in New Issue