[Chart download] Add .svg to file name, fix chart background colors

This commit is contained in:
nymkappa committed 2022-05-10 14:32:57 +02:00
1 parent 73406d36b0
commit 60ed32ffe8
10 files changed
+55 -46

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ export const formatterXAxisTimeCategory = (
};
export const download = (href, name) => {
var a = document.createElement('a');
const a = document.createElement('a');
a.download = name;
a.href = href;
document.body.appendChild(a);