This commit is contained in:
Jesús Ángel González 2018-05-11 11:33:45 +02:00
parent 37b912ed68
commit 6ec29c34ea

View File

@ -60,8 +60,8 @@ app.controller('rulesController', function ($timeout, $scope, $rootScope, $sce,
if(!$scope.$$phase) $scope.$digest(); if(!$scope.$$phase) $scope.$digest();
}); });
$scope.analizeRules = async search => { $scope.analyzeRules = async search => {
try { try {
if(search && search.length <= 1) return $scope.rulesAutoComplete.items; if(search && search.length <= 1) return $scope.rulesAutoComplete.items;
await $timeout(200); await $timeout(200);