From 69b2663b78516a369ceb3e92d211275a862a2dae Mon Sep 17 00:00:00 2001 From: Slipn3r <61992469+Slipn3r@users.noreply.github.com> Date: Thu, 20 Jul 2023 12:15:57 +0300 Subject: [PATCH] Enable catalog --- frontend/src/layouts/MainLayout.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/layouts/MainLayout.vue b/frontend/src/layouts/MainLayout.vue index 25aa1e2..29bb502 100644 --- a/frontend/src/layouts/MainLayout.vue +++ b/frontend/src/layouts/MainLayout.vue @@ -363,8 +363,8 @@ export default defineComponent({ catalogCanBeEnabled: false, catalogCanSwitchChannel: false, - catalogEnabled: false, - catalogChannelProduction: false + catalogEnabled: true, + catalogChannelProduction: true }), routes: [ { @@ -862,8 +862,8 @@ export default defineComponent({ if (localStorage.getItem('catalogEnabled') === 'true') { this.flags.catalogEnabled = true } - if (localStorage.getItem('catalogChannel') === 'production') { - this.flags.catalogChannelProduction = true + if (localStorage.getItem('catalogChannel') && localStorage.getItem('catalogChannel') !== 'production') { + this.flags.catalogChannelProduction = false } if (!process.env.PRODUCTION) { this.flags.catalogCanSwitchChannel = true