From 69175f4752288d3c02a033ef4480af007de3b07d Mon Sep 17 00:00:00 2001 From: Manuel Aranda Date: Tue, 5 May 2026 10:13:18 +0200 Subject: [PATCH] New button sync UDS --- .../src/app/components/groups/groups.component.css | 11 +++++++++++ .../src/app/components/groups/groups.component.html | 4 ++-- .../src/app/components/groups/groups.component.ts | 4 ++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ogWebconsole/src/app/components/groups/groups.component.css b/ogWebconsole/src/app/components/groups/groups.component.css index 53f3fdb..8d16db7 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.css +++ b/ogWebconsole/src/app/components/groups/groups.component.css @@ -1791,6 +1791,17 @@ mat-button-toggle-group { } } +.sync-uds-button { + display: flex; + align-items: center; +} + +.sync-uds-button mat-icon { + font-size: 18px; + width: 18px; + height: 18px; +} + .delete-button { background-color: #f44336 !important; color: white !important; diff --git a/ogWebconsole/src/app/components/groups/groups.component.html b/ogWebconsole/src/app/components/groups/groups.component.html index 8cf3c89..10f032a 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.html +++ b/ogWebconsole/src/app/components/groups/groups.component.html @@ -321,8 +321,8 @@ [runScriptContext]="getRunScriptContext(selection.selected)"> - diff --git a/ogWebconsole/src/app/components/groups/groups.component.ts b/ogWebconsole/src/app/components/groups/groups.component.ts index 75f61a5..182814b 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.ts +++ b/ogWebconsole/src/app/components/groups/groups.component.ts @@ -1385,6 +1385,10 @@ export class GroupsComponent implements OnInit, OnDestroy { return (client as any)?.organizationalUnit?.remoteCalendar?.uuid || null; } + get classroomHasRemotePc(): boolean { + return this.selectedClients.data.some((c: any) => c.organizationalUnit?.remotePc === true); + } + syncUds(event: MouseEvent): void { event.stopPropagation(); const uuid = this.classroomCalendarUuid; -- 2.40.1