This commit is contained in:
2025-06-16 15:53:57 +02:00
committed by Marek Goc
parent c7479b1aa6
commit 7b0d9b9c7b
12 changed files with 1993 additions and 1544 deletions

View File

@ -88,7 +88,7 @@ export const useMenuStore = defineStore("menuStore", () => {
const getCountryList = async () => {
try {
const res = await fetch(
`http://127.0.0.1:4000/api/public/country/list`,
`/api/public/country/list`,
{
headers: {
"Content-Type": "application/json",
@ -113,7 +113,7 @@ export const useMenuStore = defineStore("menuStore", () => {
const getCurrencies = async () => {
try {
const res = await fetch(
`http://127.0.0.1:4000/api/public/currencies`,
`/api/public/currencies`,
{
headers: {
"Content-Type": "application/json",
@ -139,7 +139,8 @@ export const useMenuStore = defineStore("menuStore", () => {
name: `id-slug___${$i18n.locale.value}`,
});
openDropDown.value = false;
} else {
}
else {
router.push({
params: {
slug: defaultMenu.value.link_rewrite,