scaffolder: remove undefined from the title of Scaffolder Run page

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
Himanshu Mishra
2024-08-07 11:24:46 +05:30
parent 8543e723a5
commit d18f4eba43
2 changed files with 8 additions and 1 deletions
@@ -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>