Update
This commit is contained in:
rodič
4238086cae
revize
213e7cddc8
|
@ -28,9 +28,11 @@
|
||||||
const resp = await api.apiCall('orders', { method: 'POST' }, { orders: $userData.orders })
|
const resp = await api.apiCall('orders', { method: 'POST' }, { orders: $userData.orders })
|
||||||
orders = resp.orders
|
orders = resp.orders
|
||||||
tickets = resp.tickets
|
tickets = resp.tickets
|
||||||
|
if (orders.length > 0 || tickets.length > 0) {
|
||||||
showOrder = false
|
showOrder = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
apiStatus.set(await api.apiCall('status'))
|
apiStatus.set(await api.apiCall('status'))
|
||||||
|
|
Načítá se…
Odkázat v novém úkolu