From 8ce70112026a016ede1de1b057fa47c5b25a6776 Mon Sep 17 00:00:00 2001 From: Wout Mertens Date: Thu, 11 Feb 2021 11:25:08 +0100 Subject: [PATCH] graph: odd bugs --- components/graph/git-graph-actions.js | 2 +- components/graph/graph.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/graph/git-graph-actions.js b/components/graph/git-graph-actions.js index 06d7a3160..f08193823 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); } } }