Fix for broken rendering test

This commit is contained in:
ashishj 2022-09-13 19:18:12 +02:00
parent 0f56c9a85d
commit 50da58afe0
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ const drawCommits = (svg, commits, modifyGraph) => {
if (modifyGraph) { if (modifyGraph) {
let typeClass; let typeClass;
let commitSymbolType = let commitSymbolType =
typeof commit.customType !== 'undefined' ? commit.customType : commit.type; typeof commit.customType !== 'undefined' && commit.customType !=='' ? commit.customType : commit.type;
switch (commitSymbolType) { switch (commitSymbolType) {
case commitType.NORMAL: case commitType.NORMAL:
typeClass = 'commit-normal'; typeClass = 'commit-normal';