fix: let flags get updated (#18610)
parent
f378c228d5
commit
a51b1c23ee
|
@ -3,6 +3,7 @@ import {get} from 'lodash'
|
||||||
|
|
||||||
// Types
|
// Types
|
||||||
import {LocalStorage} from 'src/types'
|
import {LocalStorage} from 'src/types'
|
||||||
|
import {FlagState} from 'src/shared/reducers/flags'
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
import {VERSION} from 'src/shared/constants'
|
import {VERSION} from 'src/shared/constants'
|
||||||
|
@ -39,7 +40,7 @@ export const normalizeSetLocalStorage = (state: LocalStorage): LocalStorage => {
|
||||||
VERSION,
|
VERSION,
|
||||||
autoRefresh,
|
autoRefresh,
|
||||||
userSettings,
|
userSettings,
|
||||||
flags,
|
flags: {override: flags.override} as FlagState,
|
||||||
app: normalizeApp(app),
|
app: normalizeApp(app),
|
||||||
ranges: setLocalStateRanges(ranges),
|
ranges: setLocalStateRanges(ranges),
|
||||||
resources: normalizeResources(state),
|
resources: normalizeResources(state),
|
||||||
|
|
Loading…
Reference in New Issue