Skip to content

Commit 0c04681

Browse files
committed
Release 9.1.7
1 parent 50da58a commit 0c04681

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<!-- <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css"> -->
1919
<link rel="stylesheet" href="theme.css" />
2020
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css">
21-
<script src="//cdn.jsdelivr.net/npm/[email protected].6/dist/mermaid.min.js"></script>
21+
<script src="//cdn.jsdelivr.net/npm/[email protected].7/dist/mermaid.min.js"></script>
2222
<!-- <script src="http://localhost:9000/mermaid.js"></script> -->
2323
<script>
2424
// prettier-ignore

src/diagrams/git/gitGraphRenderer.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ const drawCommits = (svg, commits, modifyGraph) => {
9292
if (modifyGraph) {
9393
let typeClass;
9494
let commitSymbolType =
95-
typeof commit.customType !== 'undefined' && commit.customType !=='' ? commit.customType : commit.type;
95+
typeof commit.customType !== 'undefined' && commit.customType !== ''
96+
? commit.customType
97+
: commit.type;
9698
switch (commitSymbolType) {
9799
case commitType.NORMAL:
98100
typeClass = 'commit-normal';

0 commit comments

Comments
 (0)