Commit 4e77492d authored by Øyvind Julsrud's avatar Øyvind Julsrud Committed by Torstein
Browse files

DEICH-5925: deichman.no: renaming of REGBARN

parent 9a28c764
......@@ -92,7 +92,7 @@ const ChildPatronAdminSearch = () => {
case "B":
return "Barn";
case "REGBARN":
return "Selvregistrert barn";
return "Påbegynt registrering";
case "REGBARNWEB":
return "Selvregistrert barn";
default:
......@@ -203,15 +203,17 @@ const ChildPatronAdminSearch = () => {
<Icon type="new-tab" />
</>
)}
{patron?.categorycode === "REGBARN" ||
(patron?.categorycode === "REGBARNWEB" && (
<span
className="child-patron-admin-search__register-text"
onClick={() => handleCompleteRegistration(patron)}
>
<b>Fullfør registrering</b>
</span>
))}
{patron?.categorycode === "REGBARNWEB" && (
<span
className="child-patron-admin-search__register-text"
onClick={() => handleCompleteRegistration(patron)}
>
<b>Fullfør registrering</b>
</span>
)}
{patron?.categorycode === "REGBARN" && (
<span>Kontakt foresatt</span>
)}
</Table.Cell>
</Table.Row>
</Fragment>
......
Markdown is supported
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