Parcourir la source

Fix to new checkboxes in features toggles tab

Torkel Ödegaard il y a 11 ans
Parent
commit
a9a51ee3c6
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/app/partials/dasheditor.html

+ 2 - 2
src/app/partials/dasheditor.html

@@ -67,8 +67,8 @@
 		<div ng-if="editor.index == 2">
 			<div class="editor-row">
 				<div class="section">
-					<editor-opt-bool text="Templating" model="dashboard.templating.enable"></editor-opt-bool>
-					<editor-opt-bool text="Annotations" model="dashboard.annotations.enable"></editor-opt-bool>
+					<editor-opt-bool text="Templating" model="dashboard.templating.enable" change="checkFeatureToggles()"></editor-opt-bool>
+					<editor-opt-bool text="Annotations" model="dashboard.annotations.enable" change="checkFeatureToggles()"></editor-opt-bool>
 					<div class="editor-option text-center" ng-repeat="pulldown in dashboard.nav">
 						<label class="small" style="text-transform:capitalize;">{{pulldown.type}}</label>
 						<input class="cr1" id="pulldown{{pulldown.type}}" type="checkbox" ng-model="pulldown.enable" ng-checked="pulldown.enable">