Clean
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
This commit is contained in:
parent
ba0500725c
commit
b1b38be806
|
@ -21,9 +21,7 @@ import { storeToRefs } from 'pinia';
|
||||||
import { formatDateTitle, currency } from 'src/lib/filters.js';
|
import { formatDateTitle, currency } from 'src/lib/filters.js';
|
||||||
import useNotify from 'src/composables/useNotify.js';
|
import useNotify from 'src/composables/useNotify.js';
|
||||||
import debounce from 'src/utils/debouncer.js';
|
import debounce from 'src/utils/debouncer.js';
|
||||||
import app from 'src/boot/app';
|
|
||||||
|
|
||||||
const jApi = inject('jApi');
|
|
||||||
const api = inject('api');
|
const api = inject('api');
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
|
@ -675,7 +673,6 @@ onBeforeMount(async () => {
|
||||||
const { data } = await api.post('Orders/configureForGuest');
|
const { data } = await api.post('Orders/configureForGuest');
|
||||||
const orderId = data[0]?.['@orderId'] || null;
|
const orderId = data[0]?.['@orderId'] || null;
|
||||||
appStore.basketOrderId = orderId;
|
appStore.basketOrderId = orderId;
|
||||||
console.log('appStore.basketOrderId', appStore.basketOrderId);
|
|
||||||
}
|
}
|
||||||
await getOrder();
|
await getOrder();
|
||||||
await getCategories();
|
await getCategories();
|
||||||
|
|
Loading…
Reference in New Issue