Skip to content

Commit

Permalink
Workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
MarosVi committed Jul 16, 2021
1 parent 71b3a69 commit 129b578
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ function onSubmit(values, wizard, setTouched) {
}

if (step.id === "AgeDependentStep") {
if (values.exceptionId > 0) {
if (values.exceptionId > 0 && values.exceptionId != 3) {
push("Consents");
} else {
if (values.isAdult) {
if (values.isAdult && values.exceptionId != 3) {
push("ExceptionStep");
} else {
push("QuarantineRegistration");
Expand All @@ -50,7 +50,7 @@ function onSubmit(values, wizard, setTouched) {
}

if (step.id === "ExceptionStep") {
if (values.exceptionId > 0) {
if (values.exceptionId > 0 && values.exceptionId != 3) {
push("Consents");
} else {
push("QuarantineRegistration");
Expand Down
4 changes: 2 additions & 2 deletions src/translations/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"noAdultIsolationYes": "At least 1 person in the shared household is in compulsory home isolation.",
"noAdultLegend": "Domestic isolation of members of a shared household",
"vacinatedFully": "I am a fully vaccinated person and I have proof of this.",
"vacinatedNo": "I am not a vaccinated person.",
"vacinatedPartially": "I am vaccinated with at least 1 dose and I have proof of this."
"vacinatedNo": "I am not a vaccinated person and I do not met the conditions as a fully vaccinated person.",
"vacinatedPartially": "I am vaccinated person with a dose administered until 9.7.2021 and entering Slovakia until 2.8.2021 at 6:00 a.m. and I have a proof of this and I do not met the conditions as a fully vaccinated person."
},
"component": {
"button": {
Expand Down
4 changes: 2 additions & 2 deletions src/translations/sk/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"noAdultIsolationYes": "Aspoň 1 osoba v spoločnej domácnosti je v povinnej domácej izolácii.",
"noAdultLegend": "Domáca izolácia členov spoločnej domácnosti",
"vacinatedFully": "Som plne zaočkovaná osoba a mám o tom doklad.",
"vacinatedNo": "Nie som zaočkovaná osoba.",
"vacinatedPartially": "Som zaočkovaná osoba aspoň 1 dávkou a mám o tom doklad."
"vacinatedNo": "Nie som zaočkovaná osoba alebo nespĺňam podmienky plne zaočkovanej osoby.",
"vacinatedPartially": "Som osoba s aplikovanou dávkou vakcíny do 9.7.2021 a vstupujem na Slovensko do 2.8.2021 do 6:00 hod. a nespĺňam podmienky plne zaočkovanej osoby."
},
"component": {
"button": {
Expand Down

0 comments on commit 129b578

Please sign in to comment.