New button sync UDS
testing/ogGui-multibranch/pipeline/pr-main Build queued... Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details

pull/82/head
Manuel Aranda Rosales 2026-05-05 09:59:28 +02:00
parent f1adcd219a
commit 0debb4534d
3 changed files with 4 additions and 1 deletions

View File

@ -322,9 +322,9 @@
</div>
<button *ngIf="classroomCalendarUuid && !syncingUds" class="action-button" (click)="syncUds($event)"
[disabled]="!selectedNode?.remotePc"
matTooltip="Sincronizar calendarios con UDS" matTooltipShowDelay="500">
<mat-icon>sync</mat-icon>
Sincronizar con UDS
</button>
<mat-spinner *ngIf="syncingUds" diameter="24" style="margin: 0 8px;"></mat-spinner>

View File

@ -319,6 +319,7 @@ export class GroupsComponent implements OnInit, OnDestroy {
name: node.name,
type: node.type,
'@id': node['@id'],
remotePc: node.remotePc,
children: children,
hasClients: hasClients,
};

View File

@ -14,6 +14,7 @@ export interface UnidadOrganizativa {
name: string;
type: string;
'@id': string;
remotePc?: boolean;
clients?: Client[];
children?: UnidadOrganizativa[];
parent?: UnidadOrganizativa;
@ -68,6 +69,7 @@ export interface TreeNode {
name: string;
type: string;
'@id'?: string;
remotePc?: boolean;
children?: TreeNode[];
hasClients?: boolean;
clients?: Client[];