fixed filters
This commit is contained in:
parent
108be7f225
commit
0e35fb25ef
@ -120,6 +120,6 @@
|
||||
<redaction-type-filter *ngIf="isCategoryFilter(filter)" [filter]="filter"></redaction-type-filter>
|
||||
<ng-container *ngIf="!isCategoryFilter(filter)">
|
||||
<redaction-dictionary-annotation-icon [dictionaryKey]="filter.key"></redaction-dictionary-annotation-icon>
|
||||
{{ filter.key | humanize }}
|
||||
{{ 'annotation-type.' + filter.key | translate }}
|
||||
</ng-container>
|
||||
</ng-template>
|
||||
|
||||
@ -3,11 +3,17 @@ import { UserWrapper } from '../../../user/user.service';
|
||||
import { FileStatusWrapper } from './file-status.wrapper';
|
||||
|
||||
export const SuperTypeSorter = {
|
||||
'add-dictionary': 2,
|
||||
'remove-dictionary': 3,
|
||||
'suggestion-add-dictionary': 7,
|
||||
'suggestion-remove-dictionary': 8,
|
||||
'suggestion-add': 5,
|
||||
'suggestion-remove': 6,
|
||||
ignore: 50,
|
||||
redaction: 1,
|
||||
suggestion: 2,
|
||||
'suggestion-remove': 3,
|
||||
hint: 4,
|
||||
ignore: 5
|
||||
manual: 2,
|
||||
hint: 10,
|
||||
'declined-suggestion': 20
|
||||
};
|
||||
|
||||
export class AnnotationWrapper {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user