Przeglądaj źródła

Graph: fix for legend show/hide toggle, after hiding requires new data fetch to show, Fixes #1393

Torkel Ödegaard 11 lat temu
rodzic
commit
c0353ab5d8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/app/panels/graph/axisEditor.html

+ 1 - 1
src/app/panels/graph/axisEditor.html

@@ -150,7 +150,7 @@
 				<li class="tight-form-item">
 					Show&nbsp;
 					<input class="cr1" id="panel.legend.show" type="checkbox"
-					ng-model="panel.legend.show" ng-checked="panel.legend.show" ng-change="render()">
+					ng-model="panel.legend.show" ng-checked="panel.legend.show" ng-change="get_data()">
 					<label for="panel.legend.show" class="cr1"></label>
 				</li>
 				<li class="tight-form-item">