Skip to content

Commit

Permalink
Merge pull request #27 from crunch-time/default-quarter
Browse files Browse the repository at this point in the history
default quarter is now today's quarter
  • Loading branch information
Jason Freeberg authored Jan 11, 2021
2 parents bf7892a + 86bbba0 commit 875f9f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/events/CourseSelectors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export default {
watch: {
quarters: function() {
if(this.quarters.length != 0) {
this.currentQuarter = this.quarters.map(q => q.quarter).sort()[this.quarters.length - 1];
this.currentQuarter = this.quarters.map(q => q.quarter).sort()[0]; //replace 0 with this.quarters.length - 1 for next quarter
}
},
/**
Expand Down

0 comments on commit 875f9f7

Please sign in to comment.