Skip to content

Commit ef4f3f0

Browse files
authored
Bruk styrk08 nav på gamle stillinger (#254)
* Bruk styrk08NAV i steden for janzz om man har begge, slik at vi ikke oversetter gamle stilllinger til janzz * Deploy
1 parent 03db00b commit ef4f3f0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
deploy-til-dev:
4646
name: Deploy til dev-gcp
4747
needs: bygg-og-push-docker-image
48-
if: github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/janzz2'
48+
if: github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bruk-styrk08Nav-på-gamle-stillinger'
4949
runs-on: ubuntu-latest
5050
steps:
5151
- uses: actions/checkout@v3

src/felles/domene/stilling/Stilling.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ export const hentTittelFraStilling = (stilling: Stilling) => {
5050

5151
const janzz = stilling.categoryList?.find(({ categoryType }) => categoryType === 'JANZZ')?.name;
5252

53-
const styrk = stilling.categoryList?.find(
53+
const styrk08Nav = stilling.categoryList?.find(
5454
({ categoryType }) => categoryType === 'STYRK08NAV'
5555
)?.name;
5656

57-
return janzz ?? styrk ?? 'Stilling uten valgt jobbtittel';
57+
return styrk08Nav ?? janzz ?? 'Stilling uten valgt jobbtittel';
5858
};
5959

6060
export enum System {

0 commit comments

Comments
 (0)