diff --git a/package.json b/package.json index 0bb1ea3..d2b8f7d 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "check": "svelte-check --tsconfig ./tsconfig.json" }, "dependencies": { + "@empathize/framework": "^1.3.5", "js-md5": "^0.7.3", "semver": "^7.3.5", "svelte-i18n": "^3.3.13", @@ -18,12 +19,12 @@ }, "devDependencies": { "@neutralinojs/neu": "^9.1.1", - "@sveltejs/vite-plugin-svelte": "^1.0.0-next.35", + "@sveltejs/vite-plugin-svelte": "^1.0.0-next.36", "@tsconfig/svelte": "^3.0.0", "@types/js-md5": "^0.4.3", "neutralino-appimage-bundler": "^1.3.2", "sass": "^1.49.0", - "svelte": "^3.46.2", + "svelte": "^3.46.3", "svelte-check": "^2.3.0", "svelte-preprocess": "^4.10.2", "tslib": "^2.3.1", diff --git a/src/components/Checkbox.svelte b/src/components/Checkbox.svelte index cab820d..62ab6fe 100644 --- a/src/components/Checkbox.svelte +++ b/src/components/Checkbox.svelte @@ -1,6 +1,8 @@
{$_('settings.environment.items.table.name')} | -{$_('settings.environment.items.table.value')} | -||
---|---|---|---|
- {variables[key].key} - - | - -- {variables[key].value} - - | + {#if Object.keys(variables).length > 0} +
{$_('settings.environment.items.table.name')} | +{$_('settings.environment.items.table.value')} |
---|
There're no variables here
+ {/if}