@@ -295,7 +295,7 @@ const MonitorsDashboard = (/** @type Properties */ props) => {
295295 onTagClick : ( type ) => {
296296 const current = anomalyTypeFilterValue . val ;
297297 const newFilter = current . length === 1 && current [ 0 ] === type ? null : type ;
298- emitEvent ( 'SetParamValues' , { payload : { anomaly_type_filter : newFilter } } ) ;
298+ emitEvent ( 'SetParamValues' , { payload : { anomaly_type_filter : newFilter , current_page : 0 } } ) ;
299299 } ,
300300 activeTypes : anomalyTypeFilterValue ,
301301 } )
@@ -347,7 +347,7 @@ const MonitorsDashboard = (/** @type Properties */ props) => {
347347 icon : 'search' ,
348348 testId : 'search-tables' ,
349349 value : tableNameFilterValue ,
350- onChange : ( value , state ) => emitEvent ( 'SetParamValues' , { payload : { table_name_filter : value } } ) ,
350+ onChange : ( value , state ) => emitEvent ( 'SetParamValues' , { payload : { table_name_filter : value , current_page : 0 } } ) ,
351351 } ) ,
352352 Select ( {
353353 label : 'Anomaly type' ,
@@ -361,7 +361,7 @@ const MonitorsDashboard = (/** @type Properties */ props) => {
361361 multiSelect : true ,
362362 width : 200 ,
363363 onChange : ( values ) => emitEvent ( 'SetParamValues' , {
364- payload : { anomaly_type_filter : values . length ? values . join ( ',' ) : null } ,
364+ payload : { anomaly_type_filter : values . length ? values . join ( ',' ) : null , current_page : 0 } ,
365365 } ) ,
366366 } ) ,
367367 span ( { class : 'fx-flex' } , '' ) ,
0 commit comments