Skip to content

Commit 24e003c

Browse files
committed
colon replace
1 parent 97c6da5 commit 24e003c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/components/TimeSeriesDialog/DownloadForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export const DownloadForm = props => {
244244
const pu = PapaParse.unparse(
245245
ffdata.values.slice(filterParams.start, filterParams.end + 1),
246246
);
247-
z.file(ffdata.name.replaceAll('*', '_') + '.csv', pu);
247+
z.file(ffdata.name.replaceAll('*', '_').replaceAll(':','_') + '.csv', pu);
248248
}
249249
}
250250
}
@@ -293,7 +293,7 @@ export const DownloadForm = props => {
293293
filterParams.end + 1,
294294
);
295295
z.file(
296-
ffdata.name.replaceAll('*', '_') + '.json',
296+
ffdata.name.replaceAll('*', '_').replaceAll(':','_') + '.json',
297297
JSON.stringify(ffdata),
298298
);
299299
}

0 commit comments

Comments
 (0)