Skip to content

Commit

Permalink
Use the right method
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Dec 5, 2024
1 parent e15c4ab commit 4e99614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/src/panel/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default (panel) => {
this.dialog.isLoading = true;

// try again with the latest state in the props
await this.save(panel.view.props.content, api);
await this[method](panel.view.props.content, api);

// make sure the dialog is closed if the request was successful
this.dialog?.close();
Expand Down

0 comments on commit 4e99614

Please sign in to comment.