fix: remove alone vertical bar on start (#1687)
This commit is contained in:
parent
1153421915
commit
ef680ab8b3
|
@ -43,7 +43,10 @@ export function setupPageHeader() {
|
|||
titleTemplate = `${titleTemplate.slice(0, 60)}...${titleTemplate.endsWith('"') ? '"' : ''}`
|
||||
}
|
||||
|
||||
titleTemplate += ` | ${t('app_name')}`
|
||||
if (titleTemplate.length)
|
||||
titleTemplate += ' | '
|
||||
|
||||
titleTemplate += t('app_name')
|
||||
if (buildInfo.env !== 'release')
|
||||
titleTemplate += ` (${buildInfo.env})`
|
||||
|
||||
|
|
Loading…
Reference in a new issue