1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-19 01:17:18 +02:00

feat: hide notifications from oss version (#3352)

This commit is contained in:
Mateusz Kwasniewski 2023-03-20 15:11:22 +01:00 committed by GitHub
parent a1720223d5
commit 476f246faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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