We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d54470c commit ccd339eCopy full SHA for ccd339e
clients/admin-ui/src/features/data-discovery-and-detection/action-center/MonitorList.tsx
@@ -75,11 +75,6 @@ const MonitorList = () => {
75
size: pageSize,
76
});
77
78
- useEffect(() => {
79
- resetPagination();
80
- // eslint-disable-next-line react-hooks/exhaustive-deps
81
- }, [requestData]);
82
-
83
useEffect(() => {
84
if (isError) {
85
toast({
@@ -103,6 +98,10 @@ const MonitorList = () => {
103
98
<Flex className="h-[calc(100%-48px)] overflow-hidden" gap="middle" vertical>
104
99
<MonitorListSearchForm
105
100
{...formProps}
101
+ onFieldsChange={(...args) => {
102
+ resetPagination();
+ formProps.onFieldsChange(...args);
+ }}
106
availableMonitorTypes={availableMonitorTypes}
107
/>
108
<List
0 commit comments