Merge pull request #3126 from vividh/fix/techdocs-page-title
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs': patch
|
||||
---
|
||||
|
||||
While techdocs fetches site name and metadata for the component, the page title was displayed as '[object Object] | Backstage'. This has now been fixed to display the component ID if site name is not present or being fetched.
|
||||
@@ -84,6 +84,7 @@ export const TechDocsPageHeader = ({
|
||||
return (
|
||||
<Header
|
||||
title={siteName ? siteName : <CircularProgress />}
|
||||
pageTitleOverride={siteName || name}
|
||||
subtitle={
|
||||
siteDescription && siteDescription !== 'None' ? siteDescription : ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user