From ecc95f55b5b74e9e85d169f7137f6be9165495d5 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Sun, 3 Nov 2019 13:00:35 +0100 Subject: [PATCH] fix: do not show defaul environment in ui --- .../__tests__/__snapshots__/ui-config-store.test.js.snap | 4 ++-- frontend/src/store/ui-config/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/store/ui-config/__tests__/__snapshots__/ui-config-store.test.js.snap b/frontend/src/store/ui-config/__tests__/__snapshots__/ui-config-store.test.js.snap index d3dfe601c3..43f7a55e3d 100644 --- a/frontend/src/store/ui-config/__tests__/__snapshots__/ui-config-store.test.js.snap +++ b/frontend/src/store/ui-config/__tests__/__snapshots__/ui-config-store.test.js.snap @@ -2,7 +2,7 @@ exports[`should be default state 1`] = ` Object { - "environment": "Open-Soruce", + "environment": "", "headerBackground": undefined, "links": Array [ Object { @@ -46,7 +46,7 @@ Object { exports[`should only update headerBackground 1`] = ` Object { - "environment": "Open-Soruce", + "environment": "", "headerBackground": "black", "links": Array [ Object { diff --git a/frontend/src/store/ui-config/index.js b/frontend/src/store/ui-config/index.js index 60b4af856b..1dd2c997c0 100644 --- a/frontend/src/store/ui-config/index.js +++ b/frontend/src/store/ui-config/index.js @@ -11,7 +11,7 @@ const UI_CONFIG = `${basePath}:ui_config`; const DEFAULT = new $Map({ headerBackground: undefined, - environment: 'Open-Soruce', + environment: '', slogan: 'The enterprise ready feature toggle service.', links: [ {