mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
Use global constant
This commit is contained in:
parent
babf76f88f
commit
1e5a7adb6d
@ -122,7 +122,7 @@ export default class StateService {
|
||||
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
||||
replaceGlobalEnvWithDefaultEnv(data: any) {
|
||||
data.environments?.forEach((e) => {
|
||||
if (e.name === ':global:') {
|
||||
if (e.name === GLOBAL_ENV) {
|
||||
e.name = DEFAULT_ENV;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user