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