Skip to content

Commit

Permalink
Fix event issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Aug 2, 2023
1 parent 7d55f70 commit f0d0448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion panel/dist/js/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion panel/src/components/Forms/FormButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export default {
});
},
async save(e) {
e.preventDefault?.();
e?.preventDefault?.();
await this.$store.dispatch("content/save");
this.$events.emit("model.update");
Expand Down

0 comments on commit f0d0448

Please sign in to comment.