format
This commit is contained in:
1 parent
362034ba26
commit
c54582ca70
2 files changed
+5
-4
No files matched your search
Generated
+1
-1
@@ -6203,4 +6203,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -22,9 +22,10 @@ const MaintenanceWindowPage = () => {
|
|||||||
(state: RootState) => state?.ui?.maintenance?.rowsPerPage ?? 5
|
(state: RootState) => state?.ui?.maintenance?.rowsPerPage ?? 5
|
||||||
);
|
);
|
||||||
|
|
||||||
const { data, isLoading, isValidating, error, refetch } = useGet<MaintenanceWindowsResponse>(
|
const { data, isLoading, isValidating, error, refetch } =
|
||||||
`/maintenance-window/team?page=${page}&rowsPerPage=${rowsPerPage}`
|
useGet<MaintenanceWindowsResponse>(
|
||||||
);
|
`/maintenance-window/team?page=${page}&rowsPerPage=${rowsPerPage}`
|
||||||
|
);
|
||||||
|
|
||||||
const maintenanceWindows = data?.maintenanceWindows ?? [];
|
const maintenanceWindows = data?.maintenanceWindows ?? [];
|
||||||
const maintenanceWindowCount = data?.maintenanceWindowCount ?? 0;
|
const maintenanceWindowCount = data?.maintenanceWindowCount ?? 0;
|
||||||
|
|||||||
Reference in new issue
Block a user