Button Sync UDS disabled

pull/84/head
Manuel Aranda Rosales 2026-05-05 10:34:54 +02:00
parent 69175f4752
commit c841f8f34d
2 changed files with 3 additions and 1 deletions

View File

@ -254,6 +254,7 @@ export class GroupsComponent implements OnInit, OnDestroy {
level,
expandable: !!node.children?.length,
hasClients: node.hasClients,
remotePc: node.remotePc,
ip: node.ip,
'@id': node['@id'],
networkSettings: node.networkSettings,
@ -1386,7 +1387,7 @@ export class GroupsComponent implements OnInit, OnDestroy {
}
get classroomHasRemotePc(): boolean {
return this.selectedClients.data.some((c: any) => c.organizationalUnit?.remotePc === true);
return !!(this.selectedNode as any)?.remotePc;
}
syncUds(event: MouseEvent): void {

View File

@ -85,6 +85,7 @@ export interface FlatNode {
level: number;
expandable: boolean;
hasClients?: boolean;
remotePc?: boolean;
networkSettings?: Object;
ip?: string;
'@id'?: string;