Skip to content

Commit c20fa85

Browse files
committed
Renamed variable value select to select dropdown
1 parent bb2d810 commit c20fa85

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

public/app/directives/all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define([
1111
'./spectrumPicker',
1212
'./tags',
1313
'./bodyClass',
14-
'./variableValueSelect',
14+
'./selectDropDown',
1515
'./metric.segment',
1616
'./grafanaVersionCheck',
1717
'./dropdown.typeahead',

public/app/directives/variableValueSelect.js renamed to public/app/directives/selectDropDown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ function (angular, app, _) {
225225

226226
angular
227227
.module('grafana.directives')
228-
.directive('variableValueSelect', function($compile, $window, $timeout) {
228+
.directive('selectDropdown', function($compile, $window, $timeout) {
229229

230230
return {
231231
scope: { variable: "=", onUpdated: "&", getValuesForTag: "&" },
232-
templateUrl: 'app/features/dashboard/partials/variableValueSelect.html',
232+
templateUrl: 'app/partials/selectDropdown.html',
233233
controller: 'SelectDropdownCtrl',
234234
controllerAs: 'vm',
235235
bindToController: true,

public/app/partials/submenu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<span class="template-variable tight-form-item" ng-show="!variable.hideLabel" style="padding-right: 5px">
77
{{variable.label || variable.name}}:
88
</span>
9-
<variable-value-select variable="variable" on-updated="variableUpdated(variable)" get-values-for-tag="getValuesForTag(variable, tagKey)"></variable-value-select>
9+
<select-dropdown variable="variable" on-updated="variableUpdated(variable)" get-values-for-tag="getValuesForTag(variable, tagKey)"></select-dropdown>
1010
</li>
1111
</ul>
1212

0 commit comments

Comments
 (0)