web/TransferSettings: pretty formatting

This commit is contained in:
wukko 2024-07-31 14:59:53 +06:00
parent e7587a2ec6
commit 2c4ba96d57
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -87,9 +87,10 @@
};
const exportSettings = () => {
const blob = new Blob([JSON.stringify($storedSettings, null, 2)], {
type: "application/json",
});
const blob = new Blob(
[JSON.stringify($storedSettings, null, 2)],
{ type: "application/json" }
);
const pseudolink = document.createElement("a");
pseudolink.href = URL.createObjectURL(blob);