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