mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 18:46:09 +00:00
web/TransferSettings: only export storedSettings instead of all settings
This commit is contained in:
parent
71204054c7
commit
299d1867a2
|
@ -1,7 +1,11 @@
|
|||
<script lang="ts">
|
||||
import { t } from "$lib/i18n/translations";
|
||||
import { createDialog } from "$lib/dialogs";
|
||||
import settings, { updateSetting, loadFromString, } from "$lib/state/settings";
|
||||
import {
|
||||
storedSettings,
|
||||
updateSetting,
|
||||
loadFromString
|
||||
} from "$lib/state/settings";
|
||||
|
||||
import ActionButton from "$components/buttons/ActionButton.svelte";
|
||||
|
||||
|
@ -65,7 +69,7 @@
|
|||
|
||||
const exportSettings = () => {
|
||||
const blob = new Blob(
|
||||
[ JSON.stringify($settings, null, 2) ],
|
||||
[ JSON.stringify($storedSettings, null, 2) ],
|
||||
{ type: "application/json" }
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue