Skip to content

Commit

Permalink
panel.upload: emit open event
Browse files Browse the repository at this point in the history
  • Loading branch information
distantnative committed Aug 15, 2024
1 parent 4d3213f commit 62a3e0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions panel/src/panel/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export default (panel) => {
preview: this.preview
},
on: {
open: (dialog) => this.emit("open", dialog),
cancel: () => this.cancel(),
submit: async () => {
panel.dialog.isLoading = true;
Expand Down

0 comments on commit 62a3e0f

Please sign in to comment.