mirror of
https://github.com/grafana/grafana.git
synced 2025-01-01 03:37:24 -06:00
Merge pull request #12215 from ryantxu/use-ng-if-for-time
use ng-if for the panel timeInfo
This commit is contained in:
commit
f0254c201a
@ -25,7 +25,7 @@ var template = `
|
||||
<li><a ng-click="ctrl.addDataQuery(datasource);"><i class="fa fa-trash"></i> Remove</a></li>
|
||||
</ul>
|
||||
</span>
|
||||
<span class="panel-time-info" ng-show="ctrl.timeInfo"><i class="fa fa-clock-o"></i> {{ctrl.timeInfo}}</span>
|
||||
<span class="panel-time-info" ng-if="ctrl.timeInfo"><i class="fa fa-clock-o"></i> {{ctrl.timeInfo}}</span>
|
||||
</span>`;
|
||||
|
||||
function renderMenuItem(item, ctrl) {
|
||||
|
Loading…
Reference in New Issue
Block a user