From 50da58afe012089ace25d037faf775561238c65c Mon Sep 17 00:00:00 2001 From: ashishj Date: Tue, 13 Sep 2022 19:18:12 +0200 Subject: [PATCH] Fix for broken rendering test --- src/diagrams/git/gitGraphRenderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diagrams/git/gitGraphRenderer.js b/src/diagrams/git/gitGraphRenderer.js index 6eb542ce8..88404a7c2 100644 --- a/src/diagrams/git/gitGraphRenderer.js +++ b/src/diagrams/git/gitGraphRenderer.js @@ -92,7 +92,7 @@ const drawCommits = (svg, commits, modifyGraph) => { if (modifyGraph) { let typeClass; let commitSymbolType = - typeof commit.customType !== 'undefined' ? commit.customType : commit.type; + typeof commit.customType !== 'undefined' && commit.customType !=='' ? commit.customType : commit.type; switch (commitSymbolType) { case commitType.NORMAL: typeClass = 'commit-normal';