Panel timeshift: You can now use panel timeshift without a relative time override, Fixes #1848

This commit is contained in:
Torkel Ödegaard 2015-04-22 13:54:31 +02:00
parent 170e8a5d76
commit 1dfc576263
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
**Fixes**
- [Issue #1832](https://github.com/grafana/grafana/issues/1832). Graph Panel + Legend Table mode: Many series casued zero height graph, now legend will never reduce the height of the graph below 50% of row height.
- [Issue #1846](https://github.com/grafana/grafana/issues/1846). Snapshots: Fixed issue with snapshoting dashboards with an interval template variable
- [Issue #1848](https://github.com/grafana/grafana/issues/1848). Panel timeshift: You can now use panel timeshift without a relative time override
# 2.0.1 (2015-04-20)

View File

@ -43,7 +43,7 @@ function (angular, _, kbn, $) {
}
if (scope.panel.timeShift) {
if (!kbn.isValidTimeSpan(scope.panel.timeFrom)) {
if (!kbn.isValidTimeSpan(scope.panel.timeShift)) {
scope.panelMeta.timeInfo = 'invalid timeshift';
return;
}