Skip to content
Snippets Groups Projects
Commit ea9cf491 authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen Committed by Magnus Westergaard
Browse files

DEICH-6012 use catalogueName when constructing Person label

parent 1934953a
No related branches found
Tags 2021-08-26.hotfix.b1
No related merge requests found
import { getNorwegianLabel } from "./util.js"
export const personLabel = (authority, withSpecAndNationality = true) => {
let label = authority.name
let label = authority.catalogueName
if (authority.ordinal) {
label += ` ${authority.ordinal}`
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment