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 dc6308d commit 025a5e6Copy full SHA for 025a5e6
live-view/live-view.js
@@ -815,7 +815,7 @@ async function handleLiveViewRequest(requestPath) {
815
let respObj;
816
817
// get repo obj from local storage
818
- const repoObj = modifiedRepos[fileUser + '/' + fileRepo.split(':')[0]];
+ const repoObj = modifiedRepos[fileUser + '/' + fileRepo.split(':')[]];
819
820
821
// if not logged in
@@ -824,7 +824,7 @@ async function handleLiveViewRequest(requestPath) {
824
|| (repoObj && !repoObj.private)) {
825
826
// if branch doesn't exist in tree
827
- if (!fileRepo.includes(':')) {
+ if (!treeLoc[1].includes(':')) {
828
829
let defaultBranch;
830
0 commit comments