forked from verdnatura/hedera-web
return from getOrder if basketOrderId is undefined
This commit is contained in:
parent
0f5014088d
commit
d8ec175328
|
@ -574,6 +574,7 @@ const debouncedGetFilters = debounce(getFilters, 400);
|
||||||
|
|
||||||
const getOrder = async () => {
|
const getOrder = async () => {
|
||||||
try {
|
try {
|
||||||
|
if (!basketOrderId.value) return;
|
||||||
const [data] = await jApi.query(
|
const [data] = await jApi.query(
|
||||||
`SELECT o.id, o.sent, ad.nickname, o.addressFk, o.agencyModeFk
|
`SELECT o.id, o.sent, ad.nickname, o.addressFk, o.agencyModeFk
|
||||||
FROM myOrder o
|
FROM myOrder o
|
||||||
|
|
Loading…
Reference in New Issue