Skip to content

Commit 9ffc257

Browse files
committed
- Update error message in BestillingStatus.tsx to use correct singular/plural form for 'ident'
#deploy-test-dolly-frontend #deploy-test-dolly-backend
1 parent 0fcc61d commit 9ffc257

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/dolly-backend/src/main/java/no/nav/dolly/DollyBackendApplicationStarter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ public static void main(String[] args) {
1111
.initializers(new NaisEnvironmentApplicationContextInitializer())
1212
.run(args);
1313
}
14-
}
14+
}

apps/dolly-frontend/src/main/js/src/components/bestilling/statusListe/BestillingProgresjon/BestillingStatus.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ export const BestillingStatus = ({
201201
<h5>{fagsystem.navn}</h5>
202202
{errIdents.length > 0 && (
203203
<p>
204-
{errEnv && `${errEnv} \u00B7 `}{errIdents.length} identer
205-
feilet
204+
{errEnv && `${errEnv} \u00B7 `}{errIdents.length} {errIdents.length === 1 ? 'ident' : 'identer'}
205+
{' '}feilet
206206
</p>
207207
)}
208208
{!errIdents.length && errEnv && <p>{errEnv}</p>}

0 commit comments

Comments
 (0)