mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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
 | 
			
		||||
                            condition={
 | 
			
		||||
                                Boolean(uiConfig?.flags?.notifications) &&
 | 
			
		||||
                                !isOss()
 | 
			
		||||
                            }
 | 
			
		||||
                            condition={!isOss()}
 | 
			
		||||
                            show={<Notifications />}
 | 
			
		||||
                        />
 | 
			
		||||
                        <Tooltip title="Documentation" arrow>
 | 
			
		||||
 | 
			
		||||
@ -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,
 | 
			
		||||
 | 
			
		||||
@ -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,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user