Addressed all the comments in pr.
This commit is contained in:
1 parent
11212c7371
commit
e71e2ef42c
7 files changed
+147
-34
No files matched your search
@@ -460,10 +460,10 @@ const useExportMonitors = () => {
|
||||
const exportMonitors = async () => {
|
||||
setIsLoading(true);
|
||||
try {
|
||||
const blob = await networkService.exportMonitors();
|
||||
const response = await networkService.exportMonitors();
|
||||
|
||||
// Create a download link
|
||||
const url = window.URL.createObjectURL(blob);
|
||||
const url = window.URL.createObjectURL(response);
|
||||
const link = document.createElement("a");
|
||||
link.href = url;
|
||||
link.setAttribute("download", "monitors.csv");
|
||||
|
||||
Reference in new issue
Block a user