Merge pull request #2431 from bluewave-labs/fix/redux-removal-hook-cleanup

fix: redux removal hook cleanup
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-06-13 09:03:25 +08:00
commit 09b7dc8401
44 files changed
+767 -1057

No files matched your search

+4 -4
View File
@@ -587,7 +587,7 @@ class NetworkService {
*
*/
async getChecksByMonitor(config) {
getChecksByMonitor = async (config) => {
const params = new URLSearchParams();
if (config.type) params.append("type", config.type);
if (config.sortOrder) params.append("sortOrder", config.sortOrder);
@@ -599,7 +599,7 @@ class NetworkService {
if (config.status !== undefined) params.append("status", config.status);
return this.axiosInstance.get(`/checks/${config.monitorId}?${params.toString()}`);
}
};
/**
* ************************************
@@ -618,7 +618,7 @@ class NetworkService {
* @returns {Promise<AxiosResponse>} The response from the axios GET request.
*
*/
async getChecksByTeam(config) {
getChecksByTeam = async (config) => {
const params = new URLSearchParams();
if (config.sortOrder) params.append("sortOrder", config.sortOrder);
if (config.limit) params.append("limit", config.limit);
@@ -628,7 +628,7 @@ class NetworkService {
if (config.rowsPerPage) params.append("rowsPerPage", config.rowsPerPage);
if (config.status !== undefined) params.append("status", config.status);
return this.axiosInstance.get(`/checks/team/${config.teamId}?${params.toString()}`);
}
};
/**
* ************************************