We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4029155 commit 33b1109Copy full SHA for 33b1109
javascript/engine-js/src/tokenScript/data/function/Argument.ts
@@ -174,7 +174,7 @@ export class Argument extends AbstractDependencyBranch implements IArgument {
174
// local-ref can be used to get attributes defined by a view that aren't explicitly defined in the tokenscript
175
const value = this.tokenScript.getViewController().getUserEntryValue(this.localRef, tokenContext?.selectedTokenId ?? "-1");
176
177
- if (!value){
+ if (value === undefined){
178
throw e;
179
}
180
0 commit comments