Skip to content

Commit

Permalink
Fix dialog submit store dispatch action
Browse files Browse the repository at this point in the history
  • Loading branch information
distantnative committed Jun 8, 2024
1 parent eaeb9b8 commit c58147b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/src/panel/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default (panel, key, defaults) => {

for (const event in state.dispatch) {
const payload = state.dispatch[event];
panel.app.$store.dispatch(
panel.app.config.globalProperties.$store.dispatch(
event,
Array.isArray(payload) === true ? [...payload] : payload
);
Expand Down

0 comments on commit c58147b

Please sign in to comment.