Skip to content

Commit

Permalink
graph: odd bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed Feb 11, 2021
1 parent c3d063d commit 8ce7011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/graph/git-graph-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class Push extends ActionBase {
.createRemoteRef()
.then(() => {
if (this.graph.HEAD().name == ref.name) {
this.grah.HEADref().node(ref.node());
this.graph.HEADref().node(ref.node());
}
})
.finally(() => programEvents.dispatch({ event: 'request-fetch-tags' }));
Expand Down
2 changes: 1 addition & 1 deletion components/graph/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ class GraphViewModel {

checkHeadMove(toNode) {
if (this.HEAD() === toNode) {
this.HEADref.node(toNode);
this.HEADref().node(toNode);
}
}
}

0 comments on commit 8ce7011

Please sign in to comment.