mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 11:18:28 +00:00
copy compressed version of data, remove translations
This commit is contained in:
parent
5422e32f40
commit
11069c7d45
@ -105,10 +105,6 @@
|
||||
"advanced.debug": "debug",
|
||||
"advanced.debug.title": "enable debug features",
|
||||
"advanced.debug.description": "gives you access to a page with various info that can be useful for debugging.",
|
||||
"advanced.debug.device": "device",
|
||||
"advanced.debug.app": "app",
|
||||
"advanced.debug.settings": "settings",
|
||||
"advanced.debug.version": "version",
|
||||
|
||||
"advanced.data": "settings data",
|
||||
|
||||
|
@ -12,13 +12,10 @@
|
||||
import settings, { storedSettings } from "$lib/state/settings";
|
||||
|
||||
$: sections = [
|
||||
{ title: $t("settings.advanced.debug.device"), data: device },
|
||||
{ title: $t("settings.advanced.debug.app"), data: app },
|
||||
{
|
||||
title: $t("settings.advanced.debug.settings"),
|
||||
data: $storedSettings,
|
||||
},
|
||||
{ title: $t("settings.advanced.debug.version"), data: $version },
|
||||
{ title: "device", data: device },
|
||||
{ title: "app", data: app },
|
||||
{ title: "settings", data: $storedSettings },
|
||||
{ title: "version", data: $version },
|
||||
];
|
||||
|
||||
let lastCopiedSection: number | null = null;
|
||||
@ -51,7 +48,7 @@
|
||||
on:click={() => {
|
||||
clearTimeout(lastCopiedSectionResetTimeout);
|
||||
lastCopiedSection = i;
|
||||
copyURL(JSON.stringify(data, null, 2));
|
||||
copyURL(JSON.stringify(data));
|
||||
}}
|
||||
>
|
||||
<CopyIcon regularIcon check={lastCopiedSection === i} />
|
||||
|
Loading…
Reference in New Issue
Block a user