v0.6.5 various updates
This commit is contained in:
@@ -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']");
|
||||
|
||||
Reference in New Issue
Block a user