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:
parent
9cf54a2a93
commit
a98bfb2229
@ -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>
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user