mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
checkpoint
This commit is contained in:
@@ -21,4 +21,19 @@ export function hideWidgetForGood(node, widget, suffix = "") {
|
||||
hideWidgetForGood(node, w, `:${widget.name}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Wrapper class to handle 'two element array bug' in LiteGraph or comfyui
|
||||
export class DataWrapper {
|
||||
constructor(data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
getData() {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
setData(data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user