Browse Source

fix(influxdb): removed limit of 20 for influxdb field dropdown, fixes #2655

Torkel Ödegaard 10 năm trước cách đây
mục cha
commit
d932a877e8

+ 1 - 1
public/app/plugins/datasource/influxdb/funcEditor.js

@@ -103,7 +103,7 @@ function (angular, _, $) {
                 });
                 });
               },
               },
               minLength: 0,
               minLength: 0,
-              items: 20,
+              items: 1000,
               updater: function (value) {
               updater: function (value) {
                 setTimeout(function() {
                 setTimeout(function() {
                   inputBlur.call($input[0]);
                   inputBlur.call($input[0]);

+ 1 - 3
public/app/plugins/datasource/influxdb/partials/query.editor.html

@@ -34,9 +34,7 @@
 				{{target.refId}}
 				{{target.refId}}
 			</li>
 			</li>
 			<li>
 			<li>
-				<a  class="tight-form-item"
-					ng-click="target.hide = !target.hide; get_data();"
-					role="menuitem">
+				<a class="tight-form-item" ng-click="target.hide = !target.hide; get_data();" role="menuitem">
 					<i class="fa fa-eye"></i>
 					<i class="fa fa-eye"></i>
 				</a>
 				</a>
 			</li>
 			</li>