Skip to content

Commit

Permalink
Fix for broken rendering test
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishjain0512 committed Sep 13, 2022
1 parent 0f56c9a commit 50da58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diagrams/git/gitGraphRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 50da58a

Please sign in to comment.