fixed filters

This commit is contained in:
Timo Bejan 2020-11-11 21:22:45 +02:00
parent 108be7f225
commit 0e35fb25ef
2 changed files with 11 additions and 5 deletions

View File

@ -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>

View File

@ -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 {