Skip to content

Commit 940b915

Browse files
author
Michelle Tilley
committed
Set current branch view during undo/redo
1 parent a4fad01 commit 940b915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/historyview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ define(['d3'], function() {
309309
this.commitData = data.commitData
310310
this.branches = data.branches
311311
this.logs = data.logs
312-
this.currentBranch = data.currentBranch
312+
this._setCurrentBranch(data.currentBranch || null)
313313
this.renderCommits()
314314
this.renderTags()
315315
}

0 commit comments

Comments
 (0)