custom trigger: remove subdir rewrite

This commit is contained in:
Jimmy Zelinskie 2015-04-03 17:20:11 -04:00
parent 7d72608006
commit 1b953c8cd6

View file

@ -35,11 +35,6 @@ angular.module('quay').directive('triggerSetupCustom', function() {
});
$scope.$watch('state.subdir', function(subdir) {
// Code elsewhere assumes root is empty string.
if (subdir === '/') {
subdir = '';
}
$scope.trigger['config']['subdir'] = subdir;
$scope.trigger.$ready = subdir != null;
});