refs #1318 Add back button in client details view
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details

pull/10/head
Lucas Lara García 2025-01-08 13:15:51 +01:00
parent d469b93a96
commit d689583b56
3 changed files with 12 additions and 1 deletions

View File

@ -257,5 +257,7 @@
text-align: center;
}
.back-button {
margin-left: 10px;
}

View File

@ -12,6 +12,11 @@
</mat-menu>
</div>
<button mat-raised-button color="primary" (click)="navigateToGroups()" class="back-button">
<mat-icon>arrow_back</mat-icon>
{{ 'Back' | translate }}
</button>
<div *ngIf="loading" class="loading-container">
<mat-spinner></mat-spinner>
</div>

View File

@ -123,6 +123,10 @@ export class ClientMainViewComponent implements OnInit {
});
}
navigateToGroups() {
this.router.navigate(['/groups']);
}
updateGeneralData() {
this.generalData = [
{ property: 'Nombre', value: this.clientData?.name || '' },