remove from dictionary for ignore
This commit is contained in:
parent
5fcfa5337f
commit
d6519e5500
@ -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>
|
||||
|
||||
@ -48,7 +48,7 @@ export class AnnotationActionsComponent implements OnInit {
|
||||
}
|
||||
|
||||
get requiresSuggestionRemoveMenu() {
|
||||
return this.annotation.isRedacted;
|
||||
return this.annotation.isRedacted || this.annotation.isIgnored;
|
||||
}
|
||||
|
||||
get canUndoAnnotation() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user