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
condition={
Boolean(uiConfig?.flags?.notifications) &&
!isOss()
}
condition={!isOss()}
show={<Notifications />}
/>
<Tooltip title="Documentation" arrow>

View File

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

View File

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