fix: remove alone vertical bar on start (#1687)

zio/stable
Michel EDIGHOFFER 2023-02-14 15:42:53 +01:00 committed by GitHub
parent 1153421915
commit ef680ab8b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,10 @@ export function setupPageHeader() {
titleTemplate = `${titleTemplate.slice(0, 60)}...${titleTemplate.endsWith('"') ? '"' : ''}` titleTemplate = `${titleTemplate.slice(0, 60)}...${titleTemplate.endsWith('"') ? '"' : ''}`
} }
titleTemplate += ` | ${t('app_name')}` if (titleTemplate.length)
titleTemplate += ' | '
titleTemplate += t('app_name')
if (buildInfo.env !== 'release') if (buildInfo.env !== 'release')
titleTemplate += ` (${buildInfo.env})` titleTemplate += ` (${buildInfo.env})`