Skip to content

Commit

Permalink
fix: remove notification feature flag from oss (#3390)
Browse files Browse the repository at this point in the history
Removes the notifications feature flag
  • Loading branch information
FredrikOseberg committed Mar 27, 2023
1 parent 9cf54a2 commit a98bfb2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions frontend/src/component/menu/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,7 @@ const Header: VFC = () => {
}
/>
<ConditionallyRender
condition={
Boolean(uiConfig?.flags?.notifications) &&
!isOss()
}
condition={!isOss()}
show={<Notifications />}
/>
<Tooltip title="Documentation" arrow>
Expand Down
2 changes: 0 additions & 2 deletions src/lib/__snapshots__/create-config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ exports[`should create default config 1`] = `
"maintenanceMode": false,
"messageBanner": false,
"newProjectOverview": false,
"notifications": false,
"optimal304": false,
"optimal304Differ": false,
"proPlanAutoCharge": false,
Expand All @@ -106,7 +105,6 @@ exports[`should create default config 1`] = `
"maintenanceMode": false,
"messageBanner": false,
"newProjectOverview": false,
"notifications": false,
"optimal304": false,
"optimal304Differ": false,
"proPlanAutoCharge": false,
Expand Down
1 change: 0 additions & 1 deletion src/lib/types/experimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a98bfb2

Please sign in to comment.