Skip to content

Commit

Permalink
code review finding
Browse files Browse the repository at this point in the history
  • Loading branch information
rlindner81 committed Jan 8, 2024
1 parent 6840ceb commit 26cc3b2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/components/AddOrEditStep.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ const emit = defineEmits(["close"]);
const show = computed(() => props.show);
watch(show, (newValue) => {
if (newValue) {
if (!props.edit) {
stepStore.resetActiveStep();
}
if (newValue && !props.edit) {
stepStore.resetActiveStep();
}
});
Expand Down

0 comments on commit 26cc3b2

Please sign in to comment.