Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: sidebar UI

hashedvikingb240883259fb
diff --git a/static/js/app.js b/static/js/app.js
index cd94f38d12..caad19656d 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -1162,6 +1162,12 @@ document.addEventListener('DOMContentLoaded', () => {
// Function to update the sidebar navigation based on research status
function updateNavigationBasedOnResearchStatus() {
+ // Get nav items for each update to ensure we have fresh references
+ const navItems = document.querySelectorAll('.sidebar-nav li');
+ const mobileNavItems = document.querySelectorAll('.mobile-tab-bar li');
+ // Get all pages
+ const pages = document.querySelectorAll('.page');
+
const newResearchNav = Array.from(navItems).find(item =>
item.getAttribute('data-page') === 'new-research' ||
(item.getAttribute('data-original-page') === 'new-research' &&