Change get method for optional value
Signed-off-by: Adam Harvey <adam.harvey@dxc.com>
This commit is contained in:
@@ -23,7 +23,7 @@ type Props = {
|
||||
export const ApiExplorerLayout = ({ children }: Props) => {
|
||||
const configApi = useApi(configApiRef);
|
||||
const generatedSubtitle = `${
|
||||
configApi.getString('organization.name') ?? 'Backstage'
|
||||
configApi.getOptionalString('organization.name') ?? 'Backstage'
|
||||
} API Explorer`;
|
||||
return (
|
||||
<Page themeId="home">
|
||||
|
||||
Reference in New Issue
Block a user