Skip to content

Commit

Permalink
Enable catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
Slipn3r committed Jul 20, 2023
1 parent 08dc25e commit 69b2663
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/layouts/MainLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ export default defineComponent({
catalogCanBeEnabled: false,
catalogCanSwitchChannel: false,
catalogEnabled: false,
catalogChannelProduction: false
catalogEnabled: true,
catalogChannelProduction: true
}),
routes: [
{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 69b2663

Please sign in to comment.