Merge pull request 'Updated styles UX button UDS' (#84) from develop into main
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details
oggui-debian-package/pipeline/head This commit looks good Details

Reviewed-on: #84
menu-edit
Manuel Aranda Rosales 2026-05-05 10:37:27 +02:00
commit 856d21f68e
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;