1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: remove notification feature flag from oss (#3390)

Removes the notifications feature flag
This commit is contained in:
Fredrik Strand Oseberg 2023-03-27 16:08:27 +02:00 committed by GitHub
parent 9cf54a2a93
commit a98bfb2229
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 7 deletions

View File

@ -261,10 +261,7 @@ const Header: VFC = () => {
} }
/> />
<ConditionallyRender <ConditionallyRender
condition={ condition={!isOss()}
Boolean(uiConfig?.flags?.notifications) &&
!isOss()
}
show={<Notifications />} show={<Notifications />}
/> />
<Tooltip title="Documentation" arrow> <Tooltip title="Documentation" arrow>

View File

@ -79,7 +79,6 @@ exports[`should create default config 1`] = `
"maintenanceMode": false, "maintenanceMode": false,
"messageBanner": false, "messageBanner": false,
"newProjectOverview": false, "newProjectOverview": false,
"notifications": false,
"optimal304": false, "optimal304": false,
"optimal304Differ": false, "optimal304Differ": false,
"proPlanAutoCharge": false, "proPlanAutoCharge": false,
@ -106,7 +105,6 @@ exports[`should create default config 1`] = `
"maintenanceMode": false, "maintenanceMode": false,
"messageBanner": false, "messageBanner": false,
"newProjectOverview": false, "newProjectOverview": false,
"notifications": false,
"optimal304": false, "optimal304": false,
"optimal304Differ": false, "optimal304Differ": false,
"proPlanAutoCharge": false, "proPlanAutoCharge": false,

View File

@ -54,7 +54,6 @@ const flags = {
process.env.UNLEASH_PRO_PLAN_AUTO_CHARGE, process.env.UNLEASH_PRO_PLAN_AUTO_CHARGE,
false, false,
), ),
notifications: parseEnvVarBoolean(process.env.NOTIFICATIONS, false),
loginHistory: parseEnvVarBoolean(process.env.UNLEASH_LOGIN_HISTORY, false), loginHistory: parseEnvVarBoolean(process.env.UNLEASH_LOGIN_HISTORY, false),
bulkOperations: parseEnvVarBoolean( bulkOperations: parseEnvVarBoolean(
process.env.UNLEASH_BULK_OPERATIONS, process.env.UNLEASH_BULK_OPERATIONS,