mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	feat: make DATE_AFTER the default time operator
This commit is contained in:
		
							parent
							
								
									f52ca03b55
								
							
						
					
					
						commit
						89d0da1c64
					
				@ -9,7 +9,7 @@ import ConditionallyRender from '../../../ConditionallyRender';
 | 
			
		||||
import {
 | 
			
		||||
    allOperators,
 | 
			
		||||
    dateOperators,
 | 
			
		||||
    DATE_BEFORE,
 | 
			
		||||
    DATE_AFTER,
 | 
			
		||||
    IN,
 | 
			
		||||
} from '../../../../../constants/operators';
 | 
			
		||||
import { SAVE } from '../ConstraintAccordionEdit';
 | 
			
		||||
@ -56,7 +56,7 @@ export const ConstraintAccordionEditHeader = ({
 | 
			
		||||
        ) {
 | 
			
		||||
            setLocalConstraint(prev => ({
 | 
			
		||||
                ...prev,
 | 
			
		||||
                operator: DATE_BEFORE,
 | 
			
		||||
                operator: DATE_AFTER,
 | 
			
		||||
                value: new Date().toISOString(),
 | 
			
		||||
            }));
 | 
			
		||||
        } else if (
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user