diff --git a/src/components/schema/classesList.html b/src/components/schema/classesList.html index 7b49bb4d..14ef4047 100644 --- a/src/components/schema/classesList.html +++ b/src/components/schema/classesList.html @@ -18,7 +18,7 @@

class="table table-striped table-bordered table-hover table-condensed pointer table-schema"> - diff --git a/src/components/schema/classesList.js b/src/components/schema/classesList.js index 315f67c7..2627be93 100644 --- a/src/components/schema/classesList.js +++ b/src/components/schema/classesList.js @@ -23,8 +23,7 @@ let SchemaClassesController = function ($scope, $element, $attrs, $location, $mo ctrl.$onChanges = (changes) => { ctrl.queryFilter = changes.query.currentValue; var elem = $element.find('input.form-control')[0]; - elem.val = ctrl.queryFilter; - angular.element(elem).triggerHandler('input'); + angular.element(elem).val(ctrl.queryFilter).triggerHandler('input'); } ctrl.clusterStrategies = ['round-robin', "default", "balanced", "local"]; diff --git a/src/controllers/schema-controller.js b/src/controllers/schema-controller.js index ef9810b2..4a08c52d 100644 --- a/src/controllers/schema-controller.js +++ b/src/controllers/schema-controller.js @@ -36,7 +36,6 @@ schemaModule.controller("SchemaController", ['$scope', '$routeParams', '$locatio return SchemaService.isSystemClass(c); } - let gMap = {}; $scope.systemClasses = $scope.listClassesTotal.filter((c) => {