mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
filter-rule-type displayName property
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user