Frontend: Set page title on the search page based on site config #3439
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
1554e00039
commit
ef49ebe5a9
1 changed files with 1 additions and 3 deletions
|
@ -232,9 +232,7 @@ config.update().finally(() => {
|
|||
} else {
|
||||
config.page.title = config.values.name;
|
||||
|
||||
if (!config.values.sponsor) {
|
||||
window.document.title = config.values.name;
|
||||
} else if (config.values.siteCaption === "") {
|
||||
if (config.values.siteCaption === "") {
|
||||
window.document.title = config.values.siteTitle;
|
||||
} else {
|
||||
window.document.title = config.values.siteCaption;
|
||||
|
|
Loading…
Reference in a new issue