New button sync UDS
parent
f1adcd219a
commit
0debb4534d
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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[];
|
||||
|
|
|
|||
Loading…
Reference in New Issue