Commit 3b82ac00 by Clicky

Fix typos in condition names

parent 9b4c6429
...@@ -94,12 +94,12 @@ ...@@ -94,12 +94,12 @@
</li> </li>
<li> <li>
<a class="grafana-target-segment" <a class="grafana-target-segment"
ng-click="target.condiction_filter = !target.condiction_filter; get_data();" ng-click="target.condition_filter = !target.condition_filter; get_data();"
role="menuitem"> role="menuitem">
<i class="icon-filter"></i> <i class="icon-filter"></i>
</a> </a>
</li> </li>
<li ng-show="target.condiction_filter"> <li ng-show="target.condition_filter">
<select class="input-small grafana-target-segment-input" <select class="input-small grafana-target-segment-input"
ng-change="get_data()" ng-change="get_data()"
ng-model="target.condition_add" ng-model="target.condition_add"
......
...@@ -89,10 +89,10 @@ function (angular, _, kbn) { ...@@ -89,10 +89,10 @@ function (angular, _, kbn) {
func: target.function, func: target.function,
timeFilter: timeFilter, timeFilter: timeFilter,
interval: target.interval || options.interval, interval: target.interval || options.interval,
condition_add: target.condiction_filter ? target.condition_add : '', condition_add: target.condition_filter ? target.condition_add : '',
condition_key: target.condiction_filter ? target.condition_key : '', condition_key: target.condition_filter ? target.condition_key : '',
condition_op: target.condiction_filter ? target.condition_op : '', condition_op: target.condition_filter ? target.condition_op : '',
condition_value: target.condiction_filter ? target.condition_value : '', condition_value: target.condition_filter ? target.condition_value : '',
group_add: target.groupby_field_add && target.groupby_field ? ',' : '', group_add: target.groupby_field_add && target.groupby_field ? ',' : '',
group: target.groupby_field_add ? target.groupby_field : '', group: target.groupby_field_add ? target.groupby_field : '',
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment