Skip to content

Commit

Permalink
fix: increase length of node hash in the DAG.
Browse files Browse the repository at this point in the history
There were cases where the hash shown was too short, because of the
switch over to version strings, like v1.2.1, which are 1 character too
long to be displayed. The length has been increased to 8 so that we can
accommodate version strings like v1.10.11
  • Loading branch information
neomorphic committed Mar 13, 2024
1 parent d39da3a commit 5528f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RepoDAG.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function createNode(node, dagGraph, uuid, masterUUID) {
}

dagGraph.setNode(version, {
label: `${version}: ${node.UUID.substr(0, 5)}`,
label: `${version}: ${node.UUID.substr(0, 8)}`,
class: nodeclass,
rx: 5,
ry: 5,
Expand Down

0 comments on commit 5528f7a

Please sign in to comment.