From 4e99614b5201b1b5c4c23d1c8c5011bc63479315 Mon Sep 17 00:00:00 2001 From: Bastian Allgeier Date: Thu, 5 Dec 2024 16:19:59 +0100 Subject: [PATCH] Use the right method --- panel/src/panel/content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/src/panel/content.js b/panel/src/panel/content.js index 0a4b357d7f..a01261cc44 100644 --- a/panel/src/panel/content.js +++ b/panel/src/panel/content.js @@ -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();