Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/babel-b5931ee402
Browse files Browse the repository at this point in the history
  • Loading branch information
hallvardastark authored Nov 13, 2023
2 parents 75c7ab2 + 02ac91e commit 93f7685
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/lint-tscheck-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
- name: Typescript-sjekk
run: yarn ts-check

- name: Linting
- name: Eslint
run: yarn lint

- name: CSS-lint
run: yarn css:lint

- name: Sjekker at koden bygger
Expand Down
6 changes: 3 additions & 3 deletions packages/form/src/DecimalField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ interface DecimalFieldProps {
}

const createNormalizeOnBlurField = WrappedNavFieldComponent => {
interface FieldComponent {
interface FieldComponentProps {
normalizeOnBlur: (value: any) => void;
component?: () => reduxFormField;
}
class FieldComponent extends Component<FieldComponent & WrappedComponentProps> {
constructor(props: FieldComponent & WrappedComponentProps) {
class FieldComponent extends Component<FieldComponentProps & WrappedComponentProps> {
constructor(props: FieldComponentProps & WrappedComponentProps) {
super(props);
this.blurHandler = this.blurHandler.bind(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,12 @@ VilkarResultPicker.transformValues = (values: FormValues, periodeFom?: string, p
tom: values.valgtPeriodeTom,
},
};
default:
return {
erVilkarOk: null,
avslagskode: null,
periode: null,
};
}
};

Expand Down

0 comments on commit 93f7685

Please sign in to comment.