Skip to content

Commit 70ada59

Browse files
authored
Update node.ts
Address review comments
1 parent 346aa40 commit 70ada59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboard/src/client/models/node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class MatterNode {
2121

2222
get nodeLabel(): string {
2323
const label = this.attributes["0/40/5"];
24-
if (!label?.includes) return '';
24+
if (typeof label !== "string") return '';
2525
if (label.includes("\u0000\u0000")) return '';
2626
return label.trim();
2727
}

0 commit comments

Comments
 (0)