Skip to content

Commit

Permalink
GD-1610: Event Doesn't go live without live payment keys (Add banner)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanmmatthews committed Jul 7, 2020
1 parent ee4073b commit 489ac2e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
methods: {
/**
* Determines is the date is within 72 hours of the first donation
*
* @returns {boolean}
*/
* Determines is the date is within 72 hours of the first donation
*
* @returns {boolean}
*/
showDonationsWarningBanner: function () {
const vue = this;
if (vue.settings.length > 0) {
Expand All @@ -71,7 +71,7 @@
const threeDaysBefore = moment(new Date(dateDonationsStart.value)).startOf('day').tz(eventTimezone.value, true).subtract(3, 'd');
return moment().isBetween(threeDaysBefore, dateStart);
}
}
}
return false;
Expand Down

0 comments on commit 489ac2e

Please sign in to comment.