Add documentation

This commit is contained in:
Pieter Vander Vennet 2024-07-09 10:54:41 +02:00
parent 1629cddaf1
commit fe57e12881
5 changed files with 8 additions and 4 deletions

View file

@ -186,6 +186,8 @@ export default class NameSuggestionIndex {
alsoShowIf: undefined,
icon,
iconClass: "medium",
// The 'frequency' is already for the country of the object we are working with
// As such, it should be "true" but this is not supported
priorityIf: frequency > 0 ? new RegexTag("id", /.*/) : undefined,
searchTerms: { "*": [nsiItem.displayName, nsiItem.id] },
})