Fix undefined tooltip showing

This commit is contained in:
Lucas Sköld
2024-06-28 17:22:08 +02:00
parent d5569ecefc
commit fa43b8ea6d
+1 -1
View File
@@ -86,7 +86,7 @@ export class SettingUtils {
const tooltip = attrs["tooltip"];
// Setting tooltip if provided
if (tooltip != "") {
if (tooltip != "" && tooltip != undefined) {
tr.title = tooltip;
label.className = "comfy-tooltip-indicator";
}