fix: address AI review feedback - early-return guard and unused volume
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful

This commit is contained in:
Claude 2026-04-12 03:18:56 +00:00
parent dae15410ab
commit 6d148d669b
2 changed files with 5 additions and 5 deletions

View file

@ -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 {

View file

@ -525,7 +525,6 @@ volumes:
project-repos:
caddy_data:
chat-config:
chat-history:
networks:
disinto-net: