Skip to content

Commit

Permalink
missing reset parameters when clear form was executed
Browse files Browse the repository at this point in the history
  • Loading branch information
moisbo committed Nov 21, 2023
1 parent bb48ffa commit e554eb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "socrates-web",
"private": true,
"version": "1.0.1",
"version": "1.0.2",
"type": "module",
"homepage": "https://soil-and-land.github.io/socrates-web/",
"scripts": {
Expand Down
5 changes: 3 additions & 2 deletions src/components/Input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,9 @@ function oldDataToSocrates() {
}
}
function clearForm() {
store.$reset()
async function clearForm() {
store.$reset();
await store.getParameters();
}
async function saveResults() {
Expand Down

0 comments on commit e554eb1

Please sign in to comment.