scaffolder: remove undefined from the title of Scaffolder Run page
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder': patch
|
||||
---
|
||||
|
||||
Fix undefined in the title of Scaffolder Runs on the page load
|
||||
@@ -173,7 +173,9 @@ export const OngoingTask = (props: {
|
||||
return (
|
||||
<Page themeId="website">
|
||||
<Header
|
||||
pageTitleOverride={`Run of ${templateName}`}
|
||||
pageTitleOverride={
|
||||
templateName ? `Run of ${templateName}` : `Scaffolder Run`
|
||||
}
|
||||
title={
|
||||
<div>
|
||||
Run of <code>{templateName}</code>
|
||||
|
||||
Reference in New Issue
Block a user