Skip to content

Commit 1d7206e

Browse files
authored
Update filebrowser.js
1 parent 6913783 commit 1d7206e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

filebrowser.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async function renderSidebarHTML() {
141141
if (repoObj) {
142142

143143
// update repo empty status in local storage
144-
updateRepoEmptyStatusLS(repoObj.fullName, true);
144+
updateModRepoEmptyStatus(repoObj.fullName, true);
145145

146146
}
147147

@@ -1113,7 +1113,7 @@ async function renderBranchMenuHTML(renderAll) {
11131113
branchResp = await git.getBranches(treeLoc);
11141114

11151115
// save branch resp in local storage
1116-
updateRepoBranchesLS(fullName, branchResp);
1116+
updateModRepoBranches(fullName, branchResp);
11171117

11181118
}
11191119

@@ -1214,7 +1214,7 @@ async function renderBranchMenuHTML(renderAll) {
12141214
saveTreeLocLS(treeLoc);
12151215

12161216
// update selected branch in local storage
1217-
updateRepoSelectedBranchLS(fullName, selectedBranch);
1217+
updateModRepoSelectedBranch(fullName, selectedBranch);
12181218

12191219
// render sidebar
12201220
renderSidebarHTML();
@@ -1257,10 +1257,10 @@ async function renderBranchMenuHTML(renderAll) {
12571257
await git.createBranch(treeLoc, shaToBranchFrom, newBranchName);
12581258

12591259
// update selected branch in local storage
1260-
updateRepoSelectedBranchLS(fullName, selectedBranch);
1260+
updateModRepoSelectedBranch(fullName, selectedBranch);
12611261

12621262
// clear branch resp from local storage
1263-
updateRepoBranchesLS(fullName, false);
1263+
updateModRepoBranches(fullName, false);
12641264

12651265
// change location
12661266
treeLoc[1] = repoName + ':' + newBranchName;
@@ -1766,7 +1766,7 @@ function createNewFileInHTML() {
17661766
if (repoObj && repoObj.empty) {
17671767

17681768
// update repo empty status in local storage
1769-
updateRepoEmptyStatusLS(repoObj.fullName, false);
1769+
updateModRepoEmptyStatus(repoObj.fullName, false);
17701770

17711771
// show search button
17721772
searchButton.classList.remove('hidden');

0 commit comments

Comments
 (0)