mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-11 11:14:27 +02: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…
x
Reference in New Issue
Block a user