diff --git a/composables/setups.ts b/composables/setups.ts index ac4df9b0..d0e49dc8 100644 --- a/composables/setups.ts +++ b/composables/setups.ts @@ -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})`