Dashboard: Refresh intervals should not always add the server min refresh interval (#26150)
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user