No annotation icon
This commit is contained in:
parent
2c16124011
commit
bf18e3d92e
@ -1,3 +1,3 @@
|
||||
<div [class.hint]="isHint" [class.request]="isRequest" [style.background-color]="color || dictType.hexColor" class="icon">
|
||||
<div [class.hint]="isHint" [class.request]="isRequest" [style.background-color]="color || dictType.hexColor" class="icon" [class.none]="type === 'none'">
|
||||
<span>{{ label || dictType.label.charAt(0) }}</span>
|
||||
</div>
|
||||
|
||||
@ -32,3 +32,7 @@
|
||||
.ignore {
|
||||
background-color: $grey-5;
|
||||
}
|
||||
|
||||
.none {
|
||||
color: $accent;
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@ import { TypeValue } from '@redaction/red-ui-http';
|
||||
})
|
||||
export class AnnotationIconComponent {
|
||||
@Input() color: string;
|
||||
@Input() type: 'square' | 'rhombus' | 'circle';
|
||||
@Input() type: 'square' | 'rhombus' | 'circle' | 'none';
|
||||
@Input() label: string;
|
||||
@Input() dictType: TypeValue;
|
||||
|
||||
|
||||
@ -27,4 +27,6 @@
|
||||
|
||||
<redaction-annotation-icon *ngIf="filter.key === 'declined-suggestion'" type="rhombus" label="S" [color]="dictionaryColor"></redaction-annotation-icon>
|
||||
|
||||
<redaction-annotation-icon *ngIf="filter.key === 'none'" label="-" color="transparent" type="none"></redaction-annotation-icon>
|
||||
|
||||
{{ filter.label | translate }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user