Skip to content

Commit 2f3c926

Browse files
committed
chore: conditional rendering of generic commit info header
1 parent 04ad875 commit 2f3c926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Shared/Components/GitCommitInfoGeneric/GitCommitInfoGeneric.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ const GitCommitInfoGeneric = ({
217217

218218
return (
219219
<div className="git-commit-info-generic__wrapper cn-9 fs-12">
220-
{showMaterialInfoHeader && (_isWebhook || lowerCaseCommitInfo.commit) && (
220+
{showMaterialInfoHeader && (_isWebhook || lowerCaseCommitInfo.commit) && !!materialUrl && (
221221
<GitMaterialInfoHeader
222222
index={index}
223223
repoUrl={materialUrl}

0 commit comments

Comments
 (0)