mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-26 14:48:10 +00:00
if no title still append prefix
This commit is contained in:
@@ -32,7 +32,9 @@
|
|||||||
|
|
||||||
if (title) {
|
if (title) {
|
||||||
document.title = `${prefix}${title} - The Homebrewery`;
|
document.title = `${prefix}${title} - The Homebrewery`;
|
||||||
}
|
} else {
|
||||||
|
document.title = `${prefix} - The Homebrewery`;
|
||||||
|
}
|
||||||
|
|
||||||
if (window.location.pathname.startsWith('/admin')) {
|
if (window.location.pathname.startsWith('/admin')) {
|
||||||
import('/client/admin/main.jsx');
|
import('/client/admin/main.jsx');
|
||||||
|
|||||||
Reference in New Issue
Block a user