Merge pull request #11936 from backstage/reorder-techdocs-page-tab-title
[Techdocs] Reorder tab title
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs': patch
|
||||
---
|
||||
|
||||
Reorder browser tab title in Techdocs pages to have the site name first.
|
||||
+1
-1
@@ -91,7 +91,7 @@ export const TechDocsReaderPageHeader = (
|
||||
}, [metadata, setTitle, setSubtitle]);
|
||||
|
||||
const appTitle = configApi.getOptional('app.title') || 'Backstage';
|
||||
const tabTitle = [subtitle, title, appTitle].filter(Boolean).join(' | ');
|
||||
const tabTitle = [title, subtitle, appTitle].filter(Boolean).join(' | ');
|
||||
|
||||
const { locationMetadata, spec } = entityMetadata || {};
|
||||
const lifecycle = spec?.lifecycle;
|
||||
|
||||
Reference in New Issue
Block a user