Deleted from object edit dialog

This commit is contained in:
mpetrov 2025-02-18 18:24:28 +02:00
parent 7216719d3e
commit 4e3e015338

View File

@ -25,9 +25,7 @@
<mat-icon class="material-icons">close</mat-icon> <mat-icon class="material-icons">close</mat-icon>
</button> </button>
</mat-toolbar> </mat-toolbar>
<mat-progress-bar color="warn" mode="indeterminate" *ngIf="isLoading$ | async"> <div style="height: 4px;"></div>
</mat-progress-bar>
<div style="height: 4px;" *ngIf="!(isLoading$ | async)"></div>
<div mat-dialog-content class="flex-1"> <div mat-dialog-content class="flex-1">
<tb-json-object-edit <tb-json-object-edit
formControlName="json" formControlName="json"
@ -41,13 +39,12 @@
<span class="flex-1"></span> <span class="flex-1"></span>
<button mat-button color="primary" <button mat-button color="primary"
type="button" type="button"
[disabled]="(isLoading$ | async)"
(click)="cancel()" cdkFocusInitial> (click)="cancel()" cdkFocusInitial>
{{ cancelButtonLabel }} {{ cancelButtonLabel }}
</button> </button>
<button mat-button mat-raised-button color="primary" <button mat-button mat-raised-button color="primary"
type="submit" type="submit"
[disabled]="(isLoading$ | async) || jsonFormGroup.invalid || !jsonFormGroup.dirty"> [disabled]="jsonFormGroup.invalid || !jsonFormGroup.dirty">
{{ saveButtonLabel }} {{ saveButtonLabel }}
</button> </button>
</div> </div>