diff --git a/src/ee/reporting/api/reporting.ts b/src/ee/reporting/api/reporting.ts index 8704435d..a6b90d21 100644 --- a/src/ee/reporting/api/reporting.ts +++ b/src/ee/reporting/api/reporting.ts @@ -302,7 +302,10 @@ export function useReportTemplates(): useReportingTemplates { axios .post(`${baseUrl}/templates/${id}/export/`) .then(({ data }) => { - exportFile(`${data.template.name}-export.json`, JSON.stringify(data)); + exportFile( + `${data.template.name}-export.json`, + JSON.stringify(data, null, 2), + ); }) .catch(() => (isError.value = true)) .finally(() => (isLoading.value = false));