Skip to content

Commit

Permalink
Hindre "Infinity" som sidenummer
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiklem committed Jan 7, 2025
1 parent 3696d5a commit 690aa39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
deploy-til-dev:
name: Deploy til dev-gcp
needs: bygg-og-push-docker-image
if: github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/formidling-jobbmesse'
if: github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/Infinity'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion src/api/kandidat-søk-api/kandidatsøk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ interface IuseKandidatsøk {

export const useKandidatsøk = ({ søkeprops, portefølje }: IuseKandidatsøk) => {
const queryParams = new URLSearchParams({
side: String(søkeprops.side),
side: Number.isFinite(søkeprops.side) ? String(søkeprops.side) : '1',
sortering: søkeprops.sortering,
});

Expand Down

0 comments on commit 690aa39

Please sign in to comment.