diff --git a/frontend/src/lib/components/DeviceFormPort.svelte b/frontend/src/lib/components/DeviceFormPort.svelte index d414d502..86b70497 100644 --- a/frontend/src/lib/components/DeviceFormPort.svelte +++ b/frontend/src/lib/components/DeviceFormPort.svelte @@ -17,9 +17,7 @@ .collection('ports') .delete(port.id) .then(() => { - deviceClone.ports = deviceClone.ports.filter( - (id: number) => id !== deviceClone.ports[index] - ); + deviceClone.ports = deviceClone.ports.filter((id) => id !== deviceClone.ports[index]); }) .catch((err) => { clearTimeout(portErrTimeout); @@ -68,7 +66,7 @@
diff --git a/frontend/src/lib/components/Navbar.svelte b/frontend/src/lib/components/Navbar.svelte index dca5db8a..697e637d 100644 --- a/frontend/src/lib/components/Navbar.svelte +++ b/frontend/src/lib/components/Navbar.svelte @@ -1,5 +1,6 @@ + +{#if settingsPubClone === undefined || settingsPrivClone === undefined} +
+{:else} +

Settings

+
+
+
+

Ping interval

+

+ Sets the interval in which the devices are pinged. Leave blank to use default value of @every 3s. +

+

+ Learn more about the correct syntax for cron on + Wikipedia + or refer to the + package documentation. +

+
+ +
+
+
+
+
+

Website title

+

Sets the title of the website and in the browser tab.

+
+ +
+
+
+
+
+

Icon

+

+ Set a custom favicon. Supported file types are + .ico, .png, + .svg, .gif and + .jpg/.jpeg. +

+
+ Favicon preview +
+
+ + +
+
+
+
+ +
+
+ +
+ {#if version === undefined} + UpSnap version: (untracked) + {:else} + UpSnap version: {version} + {/if} +
+{/if}