Skip to content

Instantly share code, notes, and snippets.

@JasonShin
Created October 22, 2016 01:38
Show Gist options
  • Select an option

  • Save JasonShin/dab8609b3e358efe430ec0f80698f669 to your computer and use it in GitHub Desktop.

Select an option

Save JasonShin/dab8609b3e358efe430ec0f80698f669 to your computer and use it in GitHub Desktop.
const workshopsList = this.props.store.filteredWorkshops.map( (workshop) => {
let formattedRangeDate = getFormattedRangeDate(workshop.StartDate, workshop.EndDate, this.rageDateDelimeter);
let maxSeats = workshop.maximum;
let availables = workshop.maximum - workshop.BookingCount;
let monthDate = getMonthDate(workshop.StartDate);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment