Commit c9158927 authored by Øyvind Julsrud's avatar Øyvind Julsrud Committed by Oyvind
Browse files

DEICH-5965: deichman.no hotfix

parent c78d10a7
input {
border: 1px solid var(--col-gray-6) !important;
}
.caption {
font-size: 16px;
.new-patron-admin-search {
input {
border: 1px solid var(--col-gray-6);
}
.caption {
font-size: 16px;
}
}
.child-patron-admin-search {
......@@ -28,4 +31,12 @@ input {
.link {
margin-right: var(--spacing-1);
}
}
input {
border: 1px solid var(--col-gray-6);
}
.caption {
font-size: 16px;
}
}
\ No newline at end of file
......@@ -52,18 +52,15 @@ class RegistrationStep1 extends React.Component {
async getUserDataFromKoha(ssn) {
try {
const patronRes = await fetch(
`/api/ansatt/getborrowerbyssn/${ssn}`,
{
method: "GET",
credentials: "include",
headers: {
Accept: "application/json",
"cache-control": "no-cache",
pragma: "no-cache"
}
const patronRes = await fetch(`/api/ansatt/getborrowerbyssn/${ssn}`, {
method: "GET",
credentials: "include",
headers: {
Accept: "application/json",
"cache-control": "no-cache",
pragma: "no-cache"
}
);
});
if (!patronRes.ok) {
throw new Error();
}
......@@ -412,7 +409,7 @@ class RegistrationStep1 extends React.Component {
description="Ny bruker"
isHiddenPage
/>
<Container preventCollapse>
<Container preventCollapse className="new-patron-admin-search">
{showAlert && (
<Alert
centered
......
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