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() {
127
127
128
128
// if repo obj dosen't exist
129
129
if ( ! repoObj || ! repoObj . defaultBranch
130
- || ! repoObj . repoDataExpiration || ! repoObj . branchExpiration
130
+ || repoObj . repoDataExpiration === undefined || repoObj . branchExpiration === undefined
131
131
|| repoObj . repoDataExpiration < currentTime ) {
132
132
133
133
// get repo obj from git
@@ -1522,7 +1522,7 @@ async function renderBranchMenuHTML(renderAll) {
1522
1522
1523
1523
// if repo obj exists
1524
1524
if ( repoObj && repoObj . branches &&
1525
- repoObj . branchExpiration &&
1525
+ repoObj . branchExpiration !== undefined &&
1526
1526
repoObj . branchExpiration >= currentTime ) {
1527
1527
1528
1528
// get repository branches
@@ -1543,7 +1543,7 @@ async function renderBranchMenuHTML(renderAll) {
1543
1543
// if branch resp isn't already stored
1544
1544
// in local storage
1545
1545
if ( ! repoObj || ! repoObj . branches ||
1546
- ! repoObj . branchExpiration ||
1546
+ repoObj . branchExpiration === undefined ||
1547
1547
repoObj . branchExpiration < currentTime ) {
1548
1548
1549
1549
// get branches for repository
You can’t perform that action at this time.
0 commit comments