mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 10:36:58 +01:00
filter-rule-type displayName property
This commit is contained in:
parent
66aa7319ab
commit
ed480f62e3
2 changed files with 10 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||
import { FilterRuleType, FILTER_HAS_TAG, FILTER_RULE_TYPES } from 'src/app/data/filter-rule-type';
|
||||
import { FilterRuleType, FILTER_RULE_TYPES } from 'src/app/data/filter-rule-type';
|
||||
import { ObjectWithId } from 'src/app/data/object-with-id';
|
||||
|
||||
@Component({
|
||||
|
|
@ -25,7 +25,7 @@ export class FilterDropdownComponent implements OnInit {
|
|||
|
||||
ngOnInit(): void {
|
||||
let filterRuleType: FilterRuleType = FILTER_RULE_TYPES.find(t => t.id == this.filterRuleTypeID)
|
||||
this.title = filterRuleType.name
|
||||
this.title = filterRuleType.displayName
|
||||
this.display = filterRuleType.datatype
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue