This commit is contained in:
comfyanonymous 2023-04-21 23:43:38 -04:00
parent d5a59da662
commit 989acd769a
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ app.registerExtension({
this.slot_types_default_in[type].push(nodeId);
}
var maxNum = this.suggestionsNumber ? this.suggestionsNumber.value : 5;
var maxNum = this.suggestionsNumber.value;
this.setDefaults(maxNum);
},
setDefaults(maxNum) {