Add missing defaultValue arg

This commit is contained in:
pythongosssss 2023-04-05 19:58:06 +01:00
parent 1030ab0d8f
commit 5456b7555c

View File

@ -286,7 +286,7 @@ class ComfySettingsDialog extends ComfyDialog {
const self = this; const self = this;
return { return {
get value() { get value() {
return self.getSettingValue(id); return self.getSettingValue(id, defaultValue);
}, },
set value(v) { set value(v) {
self.setSettingValue(id, v); self.setSettingValue(id, v);