custom trigger: more wizard progress
This commit is contained in:
parent
7d1d53ebcb
commit
d2f9a8838c
4 changed files with 43 additions and 12 deletions
|
@ -23,10 +23,15 @@ angular.module('quay').directive('triggerSetupCustom', function() {
|
|||
|
||||
$scope.state = {
|
||||
'gitURL': null,
|
||||
'subdir': null,
|
||||
};
|
||||
|
||||
$scope.stepsCompleted = function() {
|
||||
$scope.analyze({'isValid': $scope.state.gitURL != null});
|
||||
$scope.analyze({'isValid': $scope.state.gitURL != null && $scope.subdir != null});
|
||||
};
|
||||
|
||||
$scope.nopLoad = function(callback) {
|
||||
callback();
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
Reference in a new issue