Skip to content
Snippets Groups Projects
Commit b03599cb authored by Anders Høvik's avatar Anders Høvik
Browse files

Fix: fix errors in commitment and updateUserLayout

parent e6168e11
Branches feature/userprofile-for-foreign-users
No related tags found
1 merge request!44Fix/pipeline
...@@ -30,7 +30,7 @@ const onClick = () => { ...@@ -30,7 +30,7 @@ const onClick = () => {
if (lowRef.value.checked) choice = 'LITTLE' if (lowRef.value.checked) choice = 'LITTLE'
else if (mediumRef.value.checked) choice = 'SOME' else if (mediumRef.value.checked) choice = 'SOME'
else if (highRef.value.checked) choice = 'MUCH' else if (highRef.value.checked) choice = 'MUCH'
useConfigurationStore().commitment(choice) useConfigurationStore().setCommitment(choice)
router.push('/experience') router.push('/experience')
} }
else { else {
......
...@@ -82,7 +82,7 @@ const handleSubmit = async () => { ...@@ -82,7 +82,7 @@ const handleSubmit = async () => {
}) })
} catch (err) { } catch (err) {
cosole.error(err) console.error(err)
} }
} }
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment