Button Sync UDS disabled
parent
69175f4752
commit
c841f8f34d
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@ export interface FlatNode {
|
|||
level: number;
|
||||
expandable: boolean;
|
||||
hasClients?: boolean;
|
||||
remotePc?: boolean;
|
||||
networkSettings?: Object;
|
||||
ip?: string;
|
||||
'@id'?: string;
|
||||
|
|
|
|||
Loading…
Reference in New Issue