From cfdcaf53f82fcf785b7e63660fe6dd960c19dd03 Mon Sep 17 00:00:00 2001 From: AndzejsP Date: Sat, 20 May 2023 16:02:15 +0300 Subject: [PATCH] trying to fix this after page reload --- web/src/views/DiscussionsView.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/views/DiscussionsView.vue b/web/src/views/DiscussionsView.vue index 982cd7f1..baf667ad 100644 --- a/web/src/views/DiscussionsView.vue +++ b/web/src/views/DiscussionsView.vue @@ -542,7 +542,11 @@ export default { const parent = msgObj.user_message_id const discussion_id = msgObj.discussion_id // next statement - incorrect comparison: was '=' and should be '==' + + this.setDiscussionLoading(discussion_id, true ); if (this.currentDiscussion.id == discussion_id) { + + this.isGenerating = true; const index = this.discussionArr.findIndex((x) => x.parent == parent && x.id == msgObj.ai_message_id) const messageItem = this.discussionArr[index] if (messageItem) {