fixed infinite cycle by removing getPattern function in favor of field.regex
This commit is contained in:
parent
c9cc2d9fdd
commit
1f9c3b142d
2 changed files with 1 additions and 5 deletions
|
@ -34,10 +34,6 @@ angular.module('quay').directive('manualTriggerBuildDialog', function () {
|
|||
}, ApiService.errorDisplay('Could not start build'));
|
||||
};
|
||||
|
||||
$scope.getPattern = function(field) {
|
||||
return new RegExp(field.regex);
|
||||
};
|
||||
|
||||
$scope.show = function() {
|
||||
$scope.parameters = {};
|
||||
$scope.fieldOptions = {};
|
||||
|
|
Reference in a new issue