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 86afc1c
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export default {
data: () => ({
categories: null,
initialized: false,
newSiteManagementEnabled: 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 Expand Up @@ -177,4 +173,3 @@ export default {
}
};
</script>

0 comments on commit 86afc1c

Please sign in to comment.