Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Commit 70ada59

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)