mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 08:15:27 +01:00
better matching algorithm descriptions
This commit is contained in:
parent
ebdddc4fe4
commit
c4367818b7
5 changed files with 10 additions and 10 deletions
|
|
@ -30,7 +30,7 @@ export abstract class GenericListComponent<T extends ObjectWithId> implements On
|
|||
if (o.matching_algorithm == MATCH_AUTO) {
|
||||
return $localize`Automatic`
|
||||
} else if (o.match && o.match.length > 0) {
|
||||
return `${o.match} (${MATCHING_ALGORITHMS.find(a => a.id == o.matching_algorithm).name})`
|
||||
return `${MATCHING_ALGORITHMS.find(a => a.id == o.matching_algorithm).shortName}: ${o.match}`
|
||||
} else {
|
||||
return "-"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue