File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ async function renderSidebarHTML() {
127127
128128 // if repo obj dosen't exist
129129 if ( ! repoObj || ! repoObj . defaultBranch
130- || ! repoObj . repoDataExpiration || ! repoObj . branchExpiration
130+ || repoObj . repoDataExpiration === undefined || repoObj . branchExpiration === undefined
131131 || repoObj . repoDataExpiration < currentTime ) {
132132
133133 // get repo obj from git
@@ -1522,7 +1522,7 @@ async function renderBranchMenuHTML(renderAll) {
15221522
15231523 // if repo obj exists
15241524 if ( repoObj && repoObj . branches &&
1525- repoObj . branchExpiration &&
1525+ repoObj . branchExpiration !== undefined &&
15261526 repoObj . branchExpiration >= currentTime ) {
15271527
15281528 // get repository branches
@@ -1543,7 +1543,7 @@ async function renderBranchMenuHTML(renderAll) {
15431543 // if branch resp isn't already stored
15441544 // in local storage
15451545 if ( ! repoObj || ! repoObj . branches ||
1546- ! repoObj . branchExpiration ||
1546+ repoObj . branchExpiration === undefined ||
15471547 repoObj . branchExpiration < currentTime ) {
15481548
15491549 // get branches for repository
You can’t perform that action at this time.
0 commit comments