Skip to content

Commit

Permalink
Revert "feat: add feature flipping"
Browse files Browse the repository at this point in the history
This reverts commit 740b620.
  • Loading branch information
maximeperraultdev committed Sep 18, 2024
1 parent eec25a7 commit e8cccef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/domain/shared_slices/Global.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// TODO This slice should disappear in favor of `features/MainWindow/slice.ts` and "Map" feature should have its own slice.
// TODO "Map" feature should have its own slice where we would transfer the related `display...` props.

import { isDashboardEnabled } from '@features/missions/MissionForm/utils'
import { createSelector, createSlice, type PayloadAction } from '@reduxjs/toolkit'

import type { MapToolType } from '../entities/map/constants'
Expand Down Expand Up @@ -101,7 +100,7 @@ const initialState: GlobalStateType = {
displayLocateOnMap: true,
displayMeasurement: true,
displayInterestPoint: true,
displayDashboard: true && isDashboardEnabled(),
displayDashboard: true,
displaySearchSemaphoreButton: true,
displayReportingsButton: true,
displayRightMenuControlUnitListButton: true,
Expand Down

0 comments on commit e8cccef

Please sign in to comment.