Fix render function when no character is selected
This commit is contained in:
parent
07c24f363f
commit
a99c543b9f
|
@ -608,6 +608,11 @@ PromptManagerModule.prototype.render = function (afterTryGenerate = true) {
|
|||
this.renderPromptManagerListItems()
|
||||
this.makeDraggable();
|
||||
this.profileEnd('render');
|
||||
}).catch(error => {
|
||||
this.log('Error caught during render: ' + error);
|
||||
this.renderPromptManager();
|
||||
this.renderPromptManagerListItems()
|
||||
this.makeDraggable();
|
||||
});
|
||||
} else {
|
||||
// Executed during live communication
|
||||
|
|
Loading…
Reference in New Issue