Allow disable saved view with unsaved changes warning

This commit is contained in:
shamoon
2023-02-15 09:39:31 -08:00
parent 0d1a8d6d2f
commit 29f8cda104
5 changed files with 105 additions and 59 deletions

View File

@@ -189,6 +189,14 @@
<a ngbNavLink i18n>Saved views</a>
<ng-template ngbNavContent>
<h4 i18n>Settings</h4>
<div class="row mb-3">
<div class="offset-md-3 col">
<app-input-check i18n-title title="Show warning when closing saved views with unsaved changes" formControlName="savedViewsWarnOnUnsavedChange"></app-input-check>
</div>
</div>
<h4 i18n>Views</h4>
<div formGroupName="savedViews">
<div *ngFor="let view of savedViews" [formGroupName]="view.id" class="row">