mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
Merge pull request #793 from Unleash/feat/make-DATE_AFTER-the-default-time-operator
feat: make DATE_AFTER the default time operator
This commit is contained in:
commit
99dce16149
@ -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