[F] Fix: Make starting time not exceed the beginning of a term
This commit is contained in:
@@ -29,7 +29,8 @@ export default class OverallLine extends Vue
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user