Dashboard: Refresh intervals should not always add the server min refresh interval (#26150)

This commit is contained in:
Torkel Ödegaard authored and GitHub committed 2020-07-08 13:21:12 +02:00
1 parent 17d87071e6
commit 8ab5d2ddd9
1 file changed
+1 -6
@@ -79,12 +79,7 @@ export class TimeSrv {
return intervals;
}
const validIntervals = intervals.filter(str => str !== '').filter(this.contextSrv.isAllowedInterval);
if (validIntervals.indexOf(this.contextSrv.minRefreshInterval) === -1) {
validIntervals.unshift(this.contextSrv.minRefreshInterval);
}
return validIntervals;
return intervals.filter(str => str !== '').filter(this.contextSrv.isAllowedInterval);
}
private parseTime() {