custom trigger: remove subdir rewrite
This commit is contained in:
parent
7d72608006
commit
1b953c8cd6
1 changed files with 0 additions and 5 deletions
|
@ -35,11 +35,6 @@ angular.module('quay').directive('triggerSetupCustom', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.$watch('state.subdir', function(subdir) {
|
$scope.$watch('state.subdir', function(subdir) {
|
||||||
// Code elsewhere assumes root is empty string.
|
|
||||||
if (subdir === '/') {
|
|
||||||
subdir = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
$scope.trigger['config']['subdir'] = subdir;
|
$scope.trigger['config']['subdir'] = subdir;
|
||||||
$scope.trigger.$ready = subdir != null;
|
$scope.trigger.$ready = subdir != null;
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue