mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix: flag inital context fields
This commit is contained in:
		
							parent
							
								
									ec06a63a8b
								
							
						
					
					
						commit
						a12c0e32b2
					
				| @ -2,7 +2,11 @@ import { List } from 'immutable'; | |||||||
| import { RECEIVE_CONTEXT, REMOVE_CONTEXT, ADD_CONTEXT_FIELD, UPDATE_CONTEXT_FIELD } from './actions'; | import { RECEIVE_CONTEXT, REMOVE_CONTEXT, ADD_CONTEXT_FIELD, UPDATE_CONTEXT_FIELD } from './actions'; | ||||||
| import { USER_LOGOUT, USER_LOGIN } from '../user/actions'; | import { USER_LOGOUT, USER_LOGIN } from '../user/actions'; | ||||||
| 
 | 
 | ||||||
| const DEFAULT_CONTEXT_FIELDS = [{ name: 'environment' }, { name: 'userId' }, { name: 'appName' }]; | const DEFAULT_CONTEXT_FIELDS = [ | ||||||
|  |     { name: 'environment', inital: true }, | ||||||
|  |     { name: 'userId', inital: true }, | ||||||
|  |     { name: 'appName', inital: true }, | ||||||
|  | ]; | ||||||
| 
 | 
 | ||||||
| function getInitState() { | function getInitState() { | ||||||
|     return new List(DEFAULT_CONTEXT_FIELDS); |     return new List(DEFAULT_CONTEXT_FIELDS); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user