Miss with respect to blob type.
This commit is contained in:
1 parent
e71e2ef42c
commit
81d830d99e
1 file changed
+1
-1
@@ -463,7 +463,7 @@ const useExportMonitors = () => {
|
|||||||
const response = await networkService.exportMonitors();
|
const response = await networkService.exportMonitors();
|
||||||
|
|
||||||
// Create a download link
|
// Create a download link
|
||||||
const url = window.URL.createObjectURL(response);
|
const url = window.URL.createObjectURL(response.data);
|
||||||
const link = document.createElement("a");
|
const link = document.createElement("a");
|
||||||
link.href = url;
|
link.href = url;
|
||||||
link.setAttribute("download", "monitors.csv");
|
link.setAttribute("download", "monitors.csv");
|
||||||
|
|||||||
Reference in new issue
Block a user