Skip to content

Commit

Permalink
fix edit bug for falsy values
Browse files Browse the repository at this point in the history
  • Loading branch information
rlindner81 committed Jan 27, 2024
1 parent ef9765c commit 4feda07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/store/step.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const useStepStore = defineStore("step", {

for (const field of fields) {
if (input.values) {
if (input.values[field.key]) {
if (input.values[field.key] !== undefined) {
activeStepEnabled[field.key] = true;
activeStepValues[field.key] = input.values[field.key];
} else {
Expand Down

0 comments on commit 4feda07

Please sign in to comment.