File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
assets/src/dashboard/parts/connected/settings Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 29
29
run : |
30
30
echo "::set-output name=dir::$(composer config cache-files-dir)"
31
31
- name : Configure Composer cache
32
- uses : actions/cache@v1
32
+ uses : actions/cache@v4
33
33
with :
34
34
path : ${{ steps.composer-cache.outputs.dir }}
35
35
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Original file line number Diff line number Diff line change @@ -102,10 +102,11 @@ const FilterControl = ({
102
102
} ;
103
103
} ) ;
104
104
105
+ const defaultFilterOperator = optimoleDashboardApp . strings . options_strings . filter_operator_contains ;
105
106
const [ filterType , setFilterType ] = useState ( FILTER_TYPES . FILENAME ) ;
106
107
const [ filterOperator , setFilterOperator ] = useState ( optimoleDashboardApp . strings . options_strings . filter_operator_contains ) ;
107
108
const [ filterValue , setFilterValue ] = useState ( '' ) ;
108
- const [ filterMatchType , setFilterMatchType ] = useState ( optimoleDashboardApp . strings . options_strings . filter_operator_contains ) ;
109
+ const [ filterMatchType , setFilterMatchType ] = useState ( defaultFilterOperator ) ;
109
110
const [ lengthError , setLengthError ] = useState ( false ) ;
110
111
111
112
const changeFilterType = value => {
@@ -127,6 +128,7 @@ const FilterControl = ({
127
128
setLengthError ( false ) ;
128
129
setFilterValue ( selectedValue ) ;
129
130
setFilterType ( value ) ;
131
+ setFilterMatchType ( filterValue ) ;
130
132
} ;
131
133
132
134
const updateFilterValue = value => {
You can’t perform that action at this time.
0 commit comments