Skip to content

Commit d0d45be

Browse files
committed
custom date
Signed-off-by: Vedansh Saini <[email protected]>
1 parent aa0dcd1 commit d0d45be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/scrumHelper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ function allIncluded(outputTarget = 'email') {
119119
handleLastWeekContributionChange();
120120
} else if (items.yesterdayContribution) {
121121
handleYesterdayContributionChange();
122-
} else if (items.startDate && items.endingDate) {
122+
} else if (items.startingDate && items.endingDate) {
123123
startingDate = items.startingDate;
124124
endingDate = items.endingDate;
125125
} else {
126-
handleLastWeekContributionChange(); //when no date is stored, i.e on fresh unpack - default to last week.
126+
handleLastWeekContributionChange(); //on fresh unpack - default to last week.
127127
if (outputTarget === 'popup') {
128128
chrome.storage.local.set({ lastWeekContribution: true, yesterdayContribution: false });
129129
}

0 commit comments

Comments
 (0)