Skip to content

Commit

Permalink
Set in Get value empty sysvar
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjo-Frei committed Dec 29, 2020
1 parent bdcecad commit 6d6ecbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodes/ccu-get-value.html
Expand Up @@ -110,7 +110,7 @@
}
});
$.getJSON('ccu?type=sysvar&config=' + nodeId, data => {
$nodeInputSysvar.html('');
$nodeInputSysvar.html('<option></option>');
if (data) {
Object.keys(data).forEach(name => {
$nodeInputSysvar.append('<option value="' + name + '"' + (name === node.sysvar ? ' selected' : '') + '>' + name + '</option>');
Expand Down

0 comments on commit 6d6ecbb

Please sign in to comment.