mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 23:50:08 +00:00
Replace deprecated function
This commit is contained in:
@@ -160,7 +160,7 @@
|
||||
const classname = base_class.name;
|
||||
|
||||
const pos = type.lastIndexOf("/");
|
||||
base_class.category = type.substr(0, pos);
|
||||
base_class.category = type.substring(0, pos);
|
||||
|
||||
if (!base_class.title) {
|
||||
base_class.title = classname;
|
||||
|
||||
Reference in New Issue
Block a user