mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 02:39:47 +00:00
trying to fix this after page reload
This commit is contained in:
parent
1be41cbaf1
commit
cfdcaf53f8
@ -542,7 +542,11 @@ export default {
|
|||||||
const parent = msgObj.user_message_id
|
const parent = msgObj.user_message_id
|
||||||
const discussion_id = msgObj.discussion_id
|
const discussion_id = msgObj.discussion_id
|
||||||
// next statement - incorrect comparison: was '=' and should be '=='
|
// next statement - incorrect comparison: was '=' and should be '=='
|
||||||
|
|
||||||
|
this.setDiscussionLoading(discussion_id, true );
|
||||||
if (this.currentDiscussion.id == discussion_id) {
|
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 index = this.discussionArr.findIndex((x) => x.parent == parent && x.id == msgObj.ai_message_id)
|
||||||
const messageItem = this.discussionArr[index]
|
const messageItem = this.discussionArr[index]
|
||||||
if (messageItem) {
|
if (messageItem) {
|
||||||
|
Loading…
Reference in New Issue
Block a user