remove from dictionary for ignore

This commit is contained in:
Timo Bejan 2020-11-16 16:33:55 +02:00
parent 5fcfa5337f
commit d6519e5500
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
<redaction-annotation-icon [type]="'rhombus'" [label]="'S'" [color]="dictionaryColor"></redaction-annotation-icon>
<div [translate]="'annotation-actions.remove-annotation.remove-from-dict'"></div>
</div>
<div (click)="suggestRemoveAnnotation($event, annotation, false)" mat-menu-item>
<div (click)="suggestRemoveAnnotation($event, annotation, false)" mat-menu-item *ngIf="!annotation.isIgnored">
<redaction-annotation-icon [type]="'rhombus'" [label]="'S'" [color]="suggestionColor"></redaction-annotation-icon>
<div translate="annotation-actions.remove-annotation.only-here"></div>
</div>

View File

@ -48,7 +48,7 @@ export class AnnotationActionsComponent implements OnInit {
}
get requiresSuggestionRemoveMenu() {
return this.annotation.isRedacted;
return this.annotation.isRedacted || this.annotation.isIgnored;
}
get canUndoAnnotation() {