Skip to content

Commit

Permalink
feat: Remove "newSiteManagement" feature Flag - EXO-65954 - Meeds-io/…
Browse files Browse the repository at this point in the history
  • Loading branch information
azayati committed Sep 4, 2023
1 parent 962e396 commit 6362bb5
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ export default {
},
data: () => ({
categories: null,
initialized: false,
newSiteManagementEnabled: false
initialized: false
}),
computed: {
sortedEmbeddedNavigationTree() {
Expand All @@ -84,8 +83,7 @@ export default {
const navigationTree = [];
const navigationParentObjects = {};
let navigationsList = JSON.parse(JSON.stringify(this.navigations
.filter(nav => this.newSiteManagementEnabled || nav.name !== 'siteManagement')));
let navigationsList = JSON.parse(JSON.stringify(this.navigations));
navigationsList = this.filterDisplayedNavigations(navigationsList);
this.computeLink(navigationsList);
Expand Down Expand Up @@ -129,8 +127,6 @@ export default {
},
},
created() {
this.$featureService.isFeatureEnabled('newSiteManagement')
.then(enabled => this.newSiteManagementEnabled = enabled);
this.retrieveAdministrationCategories();
},
methods: {
Expand Down

0 comments on commit 6362bb5

Please sign in to comment.