Fix handleSavePrompt logging throwing error

This commit is contained in:
maver
2023-07-01 20:06:06 +02:00
parent 8abff3c24f
commit 5629bd8984

View File

@@ -205,10 +205,10 @@ PromptManagerModule.prototype.init = function (moduleConfiguration, serviceSetti
this.updatePromptWithPromptEditForm(prompt); this.updatePromptWithPromptEditForm(prompt);
} }
this.log('Saved prompt: ' + prompt.identifier); this.log('Saved prompt: ' + promptId);
this.hideEditForm(); this.hideEditForm();
this.clearEditForm(prompt); this.clearEditForm();
this.saveServiceSettings().then(() => this.render()); this.saveServiceSettings().then(() => this.render());
} }