diff --git a/storefront/app.config.d.ts b/storefront/app.config.d.ts index 3b7fc2c4..2b49b607 100644 --- a/storefront/app.config.d.ts +++ b/storefront/app.config.d.ts @@ -6,14 +6,13 @@ declare module 'nuxt/schema' { file: string; default: boolean; }>; - defaultLocale: string; }; ui: { showBreadcrumbs: boolean; showSearchBar: boolean; isHeaderFixed: boolean; isAuthModals: boolean; - toastPosition: string; + notificationPosition: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; }; } } diff --git a/storefront/app/app.config.ts b/storefront/app/app.config.ts index 978f1b57..8243a15d 100644 --- a/storefront/app/app.config.ts +++ b/storefront/app/app.config.ts @@ -9,6 +9,6 @@ export default defineAppConfig({ showSearchBar: true, isHeaderFixed: true, isAuthModals: false, - toastPosition: 'top-right', + notificationPosition: 'top-right', }, }); diff --git a/storefront/app/app.vue b/storefront/app/app.vue index 45aad876..72b3ee50 100644 --- a/storefront/app/app.vue +++ b/storefront/app/app.vue @@ -51,7 +51,6 @@ const appStore = useAppStore(); const { $appHelpers } = useNuxtApp(); const { isDemoMode, uiConfig } = useProjectConfig(); -const toaster = { position: uiConfig.value.toastPosition }; const switchLocalePath = useSwitchLocalePath(); const showBreadcrumbs = computed(() => { diff --git a/storefront/app/components/base/header/index.vue b/storefront/app/components/base/header/index.vue index 3a8d24c9..ac7ffc57 100644 --- a/storefront/app/components/base/header/index.vue +++ b/storefront/app/components/base/header/index.vue @@ -99,10 +99,9 @@ -