if no title still append prefix

This commit is contained in:
Víctor Losada Hernández committed 2026-03-22 02:27:38 +01:00
1 parent 09ea3430a0
commit 13150aca0d
1 file changed
+3 -1
+3 -1
View File
@@ -32,7 +32,9 @@
if (title) {
document.title = `${prefix}${title} - The Homebrewery`;
}
} else {
document.title = `${prefix} - The Homebrewery`;
}
if (window.location.pathname.startsWith('/admin')) {
import('/client/admin/main.jsx');