mirror of
https://github.com/danbulant/Portfolio
synced 2026-07-08 12:30:56 +00:00
fix: typescript errors
This commit is contained in:
parent
4d060a62fd
commit
0d013366de
1 changed files with 9 additions and 6 deletions
|
|
@ -346,13 +346,16 @@
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
// @ts-ignore
|
|
||||||
if (
|
if (
|
||||||
$typedErrors['candidate']['firstSchool'].name ||
|
// TODO: Fix FormErrorType, make it recursive
|
||||||
$typedErrors['candidate']['firstSchool'].field ||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
$typedErrors['candidate']['secondSchool'].name ||
|
$typedErrors['candidate']['firstSchool']['name'] ||
|
||||||
$typedErrors['candidate']['secondSchool'].field
|
// @ts-ignore
|
||||||
|
$typedErrors['candidate']['firstSchool']['field'] ||
|
||||||
|
// @ts-ignore
|
||||||
|
$typedErrors['candidate']['secondSchool']['name'] ||
|
||||||
|
// @ts-ignore
|
||||||
|
$typedErrors['candidate']['secondSchool']['field']
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -630,7 +633,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
bind:value={$form.candidate.healthInsurance}
|
bind:value={$form.candidate.healthInsurance}
|
||||||
placeholder={$LL.input.insuranceNumber()}
|
placeholder={$LL.input.insuranceNumber()}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{:else if pageIndex === 5}
|
{:else if pageIndex === 5}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue