From f44f352a2ab561982f42fbf1069c585db7ed8efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Tue, 23 Oct 2018 13:02:45 +0200 Subject: [PATCH] Set selected branch --- scm-ui/src/repos/containers/BranchRoot.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scm-ui/src/repos/containers/BranchRoot.js b/scm-ui/src/repos/containers/BranchRoot.js index c60dc7281a..1f3f0c1e3b 100644 --- a/scm-ui/src/repos/containers/BranchRoot.js +++ b/scm-ui/src/repos/containers/BranchRoot.js @@ -92,11 +92,12 @@ class BranchRoot extends React.Component { } renderBranchSelector = () => { - const { repository, branches } = this.props; + const { repository, branches, selected } = this.props; if (repository._links.branches) { return ( { this.branchSelected(b); }}