Fix for broken rendering test
This commit is contained in:
parent
0f56c9a85d
commit
50da58afe0
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue