mirror of
https://github.com/grafana/grafana.git
synced 2025-01-10 08:03:58 -06:00
Fixed opentsdb queryctrl uncheck Rate UI bug
This commit is contained in:
parent
56e2082205
commit
efc0b60d41
@ -162,20 +162,20 @@
|
|||||||
<editor-checkbox text="Counter" model="target.isCounter" change="targetBlur()"></editor-checkbox>
|
<editor-checkbox text="Counter" model="target.isCounter" change="targetBlur()"></editor-checkbox>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="tight-form-item" ng-hide="!target.isCounter">
|
<li class="tight-form-item" ng-hide="!target.isCounter || !target.shouldComputeRate">
|
||||||
Counter Max:
|
Counter Max:
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li ng-hide="!target.isCounter">
|
<li ng-hide="!target.isCounter || !target.shouldComputeRate">
|
||||||
<input type="text" class="tight-form-input input-small" ng-disabled="!target.shouldComputeRate"
|
<input type="text" class="tight-form-input input-small" ng-disabled="!target.shouldComputeRate"
|
||||||
ng-model="target.counterMax" spellcheck='false'
|
ng-model="target.counterMax" spellcheck='false'
|
||||||
placeholder="max value" ng-model-onblur
|
placeholder="max value" ng-model-onblur
|
||||||
ng-blur="targetBlur()"></input>
|
ng-blur="targetBlur()"></input>
|
||||||
</li>
|
</li>
|
||||||
<li class="tight-form-item" ng-hide="!target.isCounter">
|
<li class="tight-form-item" ng-hide="!target.isCounter || !target.shouldComputeRate">
|
||||||
Reset Value:
|
Reset Value:
|
||||||
</li>
|
</li>
|
||||||
<li ng-hide="!target.isCounter">
|
<li ng-hide="!target.isCounter || !target.shouldComputeRate">
|
||||||
<input type="text" class="tight-form-input input-small" ng-disabled="!target.shouldComputeRate"
|
<input type="text" class="tight-form-input input-small" ng-disabled="!target.shouldComputeRate"
|
||||||
ng-model="target.counterResetValue" spellcheck='false'
|
ng-model="target.counterResetValue" spellcheck='false'
|
||||||
placeholder="reset value" ng-model-onblur
|
placeholder="reset value" ng-model-onblur
|
||||||
|
Loading…
Reference in New Issue
Block a user