RED-2456: Fixed remove annotations cancel
This commit is contained in:
parent
8c4046ab7e
commit
ecfd62725f
@ -49,9 +49,7 @@
|
||||
<button [disabled]="!redactionForm.valid" color="primary" mat-flat-button type="submit">
|
||||
{{ 'remove-annotations-dialog.confirm' | translate }}
|
||||
</button>
|
||||
<button (click)="deny()" color="primary" mat-flat-button>
|
||||
{{ 'remove-annotations-dialog.deny' | translate }}
|
||||
</button>
|
||||
<div class="all-caps-label cancel" mat-dialog-close translate="remove-annotations-dialog.cancel"></div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
@ -31,10 +31,6 @@ export class RemoveAnnotationsDialogComponent {
|
||||
});
|
||||
}
|
||||
|
||||
deny() {
|
||||
this.dialogRef.close();
|
||||
}
|
||||
|
||||
confirm() {
|
||||
this.dialogRef.close({ comment: this.redactionForm.getRawValue().comment });
|
||||
}
|
||||
|
||||
@ -1317,7 +1317,7 @@
|
||||
"redaction": "Redaction",
|
||||
"remove-annotations-dialog": {
|
||||
"confirm": "Yes, proceed and remove!",
|
||||
"deny": "Cancel",
|
||||
"cancel": "Cancel",
|
||||
"dictionary": "Dictionary",
|
||||
"image-type": "Image: {typeLabel}",
|
||||
"remove-from-dictionary": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user