CST-9639: Fixed error on control remove, fixed cancel button behavior, fixed bad state of access control tab on load, fixed translations, added jsdocs

This commit is contained in:
Enea Jahollari
2023-06-07 13:00:12 +02:00
parent d99b98d140
commit 47e0314c9b
6 changed files with 92 additions and 43 deletions

View File

@@ -153,12 +153,12 @@
<hr *ngIf="showSubmit">
<div *ngIf="showSubmit" class="d-flex justify-content-end">
<button class="btn btn-outline-primary mr-3" (click)="reset()">
<button class="btn btn-outline-primary mr-3" (click)="reset()" type="button">
{{ 'access-control-cancel' | translate }}
</button>
<button class="btn btn-primary"
[disabled]="!state.item.toggleStatus && !state.bitstream.toggleStatus"
(click)="submit()">
(click)="submit()" type="submit">
{{ 'access-control-execute' | translate }}
</button>
</div>