diff --git a/src/view/components/ArgInput.svelte b/src/view/components/ArgInput.svelte
index 7469d17..50e5296 100644
--- a/src/view/components/ArgInput.svelte
+++ b/src/view/components/ArgInput.svelte
@@ -19,8 +19,9 @@
export let hideSign = false;
export let widthAuto = false;
export let onTagClick;
+ export let justify = "start";
let spec = argSpecs.find((s) => s.id == type);
- if (value === undefined || value == null || (value == "" && "default" in spec && value !== spec.default)) {
+ if (value === undefined || value === null || (value === "" && "default" in spec && value !== spec.default)) {
resetValue();
}
@@ -68,7 +69,7 @@
if (spec && "options" in spec) {
options = [...spec.options, ...additionalItems].flat();
}
- if (value === undefined || value == null || (value == "" && "default" in spec && value !== spec.default)) {
+ if (value === undefined || value === null || (value === "" && "default" in spec && value !== spec.default)) {
resetValue();
}
debounce(dispatch("change", value), 200);
@@ -120,7 +121,12 @@
{/if}
-
{#each currentHooks as hook (hook.id)}
-
+