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

This commit is contained in:
nymkappa
2022-05-09 11:01:51 +02:00
parent c62ed62db6
commit 271f3c2317
10 changed files with 55 additions and 46 deletions

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);