v0.6.5 various updates

This commit is contained in:
2026-03-10 18:16:05 -04:00
parent 09e6a75a9b
commit 2d21aac35f
11 changed files with 33 additions and 9 deletions

View File

@@ -32,7 +32,9 @@ function useAppSettings() {
useEffect(() => {
const name = settings.app_name || 'jama';
document.title = name;
// Preserve any unread badge prefix already set by Chat.jsx
const prefix = document.title.match(/^(\(\d+\)\s*)/)?.[1] || '';
document.title = prefix + name;
const logoUrl = settings.logo_url;
const faviconUrl = logoUrl || '/icons/jama.png';
let link = document.querySelector("link[rel~='icon']");