diff --git a/src/components/sequencing/form/ArgEditor.svelte b/src/components/sequencing/form/ArgEditor.svelte index 064560850e..e23d5be9ee 100644 --- a/src/components/sequencing/form/ArgEditor.svelte +++ b/src/components/sequencing/form/ArgEditor.svelte @@ -31,13 +31,13 @@ let argDef: FswCommandArgument | undefined = undefined; let enableRepeatAdd: boolean = false; - let isVariable: boolean = false; + let isSymbol: boolean = false; $: argDef = argInfo.argDef; $: { - isVariable = commandInfoMapper.isArgumentNodeOfVariableType(argInfo.node ?? null); - if (!!argDef && isVariable) { + isSymbol = commandInfoMapper.isArgumentNodeOfVariableType(argInfo.node ?? null); + if (!!argDef && isSymbol) { argDef = { arg_type: 'enum', bit_length: null, @@ -84,7 +84,7 @@ { if (argInfo.node) { setInEditor(argInfo.node, val); @@ -92,7 +92,7 @@ }} /> {/if} - {#if isVariable && isFswCommandArgumentEnum(argDef)} + {#if isSymbol && isFswCommandArgumentEnum(argDef)}
Reference
void; - export let argumentValueCategory: 'Literal' | 'Reference'; + export let argumentValueCategory: 'Literal' | 'Symbol'; let title: string = ''; let typeInfo: string = ''; @@ -105,7 +105,7 @@