Skip to content

Commit

Permalink
Merge pull request #20 from beabee-communityrm/fix/saving-after-rever…
Browse files Browse the repository at this point in the history
…t-draft

fix: changes not persisting after reverting a callout to draft
  • Loading branch information
wpf500 authored Jul 18, 2024
2 parents 8fa5c56 + 926e315 commit 35c2c82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/frontend/src/pages/admin/callouts/new.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ async function handlePreview() {
}
async function reset() {
// Clear any existing steps data to force form reset
steps.value = undefined;
const callout = props.id
? await fetchCallout(props.id, ['form', 'responseViewSchema', 'variants'])
: undefined;
Expand Down

0 comments on commit 35c2c82

Please sign in to comment.