diff --git a/components/graph/git-graph-actions.js b/components/graph/git-graph-actions.js index 99d303b81..136bc8b76 100644 --- a/components/graph/git-graph-actions.js +++ b/components/graph/git-graph-actions.js @@ -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' })); diff --git a/components/graph/graph.js b/components/graph/graph.js index 39ff81d07..ad1ad8207 100644 --- a/components/graph/graph.js +++ b/components/graph/graph.js @@ -338,7 +338,7 @@ class GraphViewModel { checkHeadMove(toNode) { if (this.HEAD() === toNode) { - this.HEADref.node(toNode); + this.HEADref().node(toNode); } } }