next screenshots

This commit is contained in:
SPRINX0\prochazka
2025-01-29 15:33:57 +01:00
parent 8d19fae16a
commit bee7ec0cc7
5 changed files with 75 additions and 5 deletions

View File

@@ -221,6 +221,11 @@ export abstract class PerspectiveTreeNode {
return false;
}
get pathIdentifier() {
if (this.parentNode) return `${this.parentNode.pathIdentifier}_${this.codeName}`;
return this.codeName;
}
hasDesignerIdInIncestors(designerId: string): boolean {
if (designerId == this.designerId) return true;
return this.parentNode?.hasDesignerIdInIncestors(designerId) || false;