Remove doubled initialization of prompt manager

This commit is contained in:
maver
2023-06-25 22:01:04 +02:00
parent 7c1e370abe
commit 9cf41a6a52
2 changed files with 1 additions and 3 deletions

View File

@ -140,7 +140,7 @@ PromptManagerModule.prototype.init = function (moduleConfiguration, serviceSetti
const promptId = event.target.dataset.pmPrompt;
const prompt = this.getPromptById(promptId);
if (null === prompt){
if (null === prompt) {
this.addPrompt({}, promptId);
} else {
this.updatePrompt(prompt);