From 504abaf6f797c259f4e934d08ecc94cf44b4fa80 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 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); } } }