feat(editor): Retrieve previous chat message on arrow-up (#8696)

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
oleg
2024-02-22 09:32:34 +01:00
committed by GitHub
parent a5e6f5928a
commit 246f8cfcc3
5 changed files with 38 additions and 5 deletions

View File

@@ -1013,6 +1013,7 @@ export default defineComponent({
this.instance.unbind();
this.instance.destroy();
this.uiStore.stateIsDirty = false;
this.workflowsStore.resetChatMessages();
window.removeEventListener('message', this.onPostMessageReceived);
nodeViewEventBus.off('newWorkflow', this.newWorkflow);
nodeViewEventBus.off('importWorkflowData', this.onImportWorkflowDataEvent);