mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
messages
This commit is contained in:
parent
702b985ceb
commit
0e237fa459
2 changed files with 43 additions and 27 deletions
|
|
@ -46,6 +46,8 @@ export class FilterEditorComponent implements OnInit, OnDestroy {
|
|||
return $localize`Without any tag`
|
||||
}
|
||||
|
||||
case FILTER_TITLE:
|
||||
return $localize`Title: ${rule.value}`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -117,7 +119,7 @@ export class FilterEditorComponent implements OnInit, OnDestroy {
|
|||
})
|
||||
}
|
||||
|
||||
get filterRules() {
|
||||
get filterRules(): FilterRule[] {
|
||||
let filterRules: FilterRule[] = []
|
||||
if (this._titleFilter) {
|
||||
filterRules.push({rule_type: FILTER_TITLE, value: this._titleFilter})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue