From f76ec0b2c6d62692bd9580817993dc0ab8da11b1 Mon Sep 17 00:00:00 2001 From: saqimtiaz Date: Tue, 24 Mar 2026 14:51:18 +0100 Subject: [PATCH] fix: whitespace --- core/modules/widgets/widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/widgets/widget.js b/core/modules/widgets/widget.js index 70405cb67..e1dbb5296 100755 --- a/core/modules/widgets/widget.js +++ b/core/modules/widgets/widget.js @@ -189,7 +189,7 @@ Widget.prototype.getVariableInfo = function(name,options) { } return { text: text, - resultList: text === undefined ? text: [text] + resultList: text === undefined ? text : [text] }; }; @@ -338,7 +338,7 @@ Widget.prototype.makeFakeWidgetWithVariables = function(vars = {}) { const value = vars[name]; return Array.isArray(value) ? { text: value[0], resultList: value } - : { text: value, resultList: value === undefined ? value :[value] }; + : { text: value, resultList: value === undefined ? value : [value] }; } opts = opts || {}; opts.variables = Object.assign({}, vars, opts.variables || {});