Skip to content

Commit

Permalink
Fix spelling to stay consistent with merged fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bargs committed Feb 2, 2016
1 parent 208ccab commit bab406b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require('ui/modules').get('apps/settings')
template: require('plugins/kibana/settings/sections/indices/directives/kbn_settings_indices.html'),
link: function ($scope) {
$scope.showAddNew = !/^\/settings\/indices$/.test($route.current.$$route.originalPath);
$scope.edittingId = $route.current.params.indexPatternId;
$scope.editingId = $route.current.params.indexPatternId;
config.$bind($scope, 'defaultIndex');

$scope.$watch('defaultIndex', function () {
Expand All @@ -16,7 +16,7 @@ require('ui/modules').get('apps/settings')
return {
id: id,
url: kbnUrl.eval('#/settings/indices/edit/{{id}}', {id: id}),
class: 'sidebar-item-title ' + ($scope.edittingId === id ? 'active' : ''),
class: 'sidebar-item-title ' + ($scope.editingId === id ? 'active' : ''),
default: $scope.defaultIndex === id
};
});
Expand Down

0 comments on commit bab406b

Please sign in to comment.