Skip to content

Commit 0592f71

Browse files
committed
fix: add check for component existence in GitInfoMaterial
1 parent 759d5ea commit 0592f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/common/GitInfoMaterial.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ export default function GitInfoMaterial({
380380
)
381381
}
382382

383-
if (currentSidebarTab === CIMaterialSidebarType.PARAMETERS) {
383+
if (RuntimeParameters && currentSidebarTab === CIMaterialSidebarType.PARAMETERS) {
384384
return (
385385
<RuntimeParameters
386386
heading={getRuntimeParametersHeading()}

0 commit comments

Comments
 (0)