web/TransferSettings: pretty formatting
This commit is contained in:
parent
e7587a2ec6
commit
2c4ba96d57
1 changed files with 4 additions and 3 deletions
|
@ -87,9 +87,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
const exportSettings = () => {
|
const exportSettings = () => {
|
||||||
const blob = new Blob([JSON.stringify($storedSettings, null, 2)], {
|
const blob = new Blob(
|
||||||
type: "application/json",
|
[JSON.stringify($storedSettings, null, 2)],
|
||||||
});
|
{ type: "application/json" }
|
||||||
|
);
|
||||||
|
|
||||||
const pseudolink = document.createElement("a");
|
const pseudolink = document.createElement("a");
|
||||||
pseudolink.href = URL.createObjectURL(blob);
|
pseudolink.href = URL.createObjectURL(blob);
|
||||||
|
|
Loading…
Reference in a new issue