[F] Fix: Make starting time not exceed the beginning of a term

This commit is contained in:
Hykilpikonna
2019-11-09 15:24:41 -05:00
parent a3fd822252
commit 2b7026c4ce
@@ -29,7 +29,8 @@ export default class OverallLine extends Vue
dataZoom: dataZoom:
[ [
{ {
startValue: moment().subtract(30, 'days').toDate().getTime() startValue: Math.max(moment().subtract(30, 'days').toDate().getTime(),
Constants.TERMS[Navigation.instance.getSelectedGradingPeriod()].getTime())
}, },
{ {
type: 'inside' type: 'inside'