ecomm
This commit is contained in:
@@ -35,6 +35,7 @@ import { useMessageStore } from './MessageStore'
|
||||
import { useNotifStore } from '@store/NotifStore'
|
||||
import { useCircuitStore } from '@store/CircuitStore'
|
||||
import { routesAdmin } from '@src/router/routesAdmin'
|
||||
import { routesECommerce } from '@src/router/routesECommerce'
|
||||
import LandingFooter from '@src/components/LandingFooter/LandingFooter'
|
||||
|
||||
|
||||
@@ -490,6 +491,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
const baseroutes = static_data.getDynamicPages(this.site);
|
||||
|
||||
const adminRoutes = routesAdmin.routesAd(this.site);
|
||||
const ecommRoutes = routesECommerce.routesEcomm(this.site);
|
||||
|
||||
const last = {
|
||||
active: true,
|
||||
@@ -518,7 +520,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
if (!toolsext.sito_online(false)) {
|
||||
static_data.routes = [sito_offline, last]
|
||||
} else {
|
||||
static_data.routes = [...baseroutes, ...adminRoutes, ...arrpagesroute, last]
|
||||
static_data.routes = [...baseroutes, ...ecommRoutes, ...adminRoutes, ...arrpagesroute, last]
|
||||
}
|
||||
|
||||
/*for (const menu of static_data.routes) {
|
||||
|
||||
Reference in New Issue
Block a user