fix: address AI review feedback - early-return guard and unused volume
This commit is contained in:
parent
dae15410ab
commit
6d148d669b
2 changed files with 5 additions and 5 deletions
|
|
@ -340,6 +340,11 @@
|
|||
|
||||
// Load a specific conversation
|
||||
async function loadConversation(convId) {
|
||||
// Early-return if already showing this conversation
|
||||
if (convId === currentConversationId) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Clear messages
|
||||
messagesDiv.innerHTML = '';
|
||||
|
||||
|
|
@ -349,10 +354,6 @@
|
|||
});
|
||||
document.querySelector(`[data-conversation-id="${convId}"]`)?.classList.add('active');
|
||||
|
||||
if (convId === currentConversationId) {
|
||||
return;
|
||||
}
|
||||
|
||||
currentConversationId = convId;
|
||||
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -525,7 +525,6 @@ volumes:
|
|||
project-repos:
|
||||
caddy_data:
|
||||
chat-config:
|
||||
chat-history:
|
||||
|
||||
networks:
|
||||
disinto-net:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue