We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 568fd55 commit 3699514Copy full SHA for 3699514
live-view/live-view.js
@@ -7,7 +7,7 @@ async function setupLiveView() {
7
8
// update repo obj selected branch
9
10
- const selBranch = linkData.dir[1].split(':')[1];
+ let selBranch = linkData.dir[1].split(':')[1];
11
12
// get repo obj from local storage
13
const repoObj = modifiedRepos[linkData.dir[0] + '/' + linkData.dir[1].split(':')[0]];
@@ -37,6 +37,7 @@ async function setupLiveView() {
37
treeLoc[1] = linkData.dir[1].split(':')[0] + ':' + defaultBranch;
38
saveTreeLocLS(treeLoc);
39
40
+ // set selected branch to default branch
41
selBranch = defaultBranch;
42
43
}
0 commit comments