Update prompt manager after chat loaded
This commit is contained in:
parent
c92de398b9
commit
29bc3c854f
|
@ -221,7 +221,7 @@ PromptManagerModule.prototype.init = function (moduleConfiguration, serviceSetti
|
||||||
}
|
}
|
||||||
|
|
||||||
// Re-render when the character changes.
|
// Re-render when the character changes.
|
||||||
eventSource.on('characterSelected', (event) => {
|
eventSource.on('chatLoaded', (event) => {
|
||||||
this.handleCharacterSelected(event)
|
this.handleCharacterSelected(event)
|
||||||
this.saveServiceSettings().then(() => this.render());
|
this.saveServiceSettings().then(() => this.render());
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue