parent
dc1d3f73d2
commit
8dbc9db292
1 changed files with 3 additions and 3 deletions
|
@ -71,11 +71,11 @@ angular.module('quay').directive('repoCountChecker', function () {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var isUserNamespace = UserService.isUserNamespace($scope.namespace);
|
$scope.isUserNamespace = !UserService.isOrganization($scope.namespace);
|
||||||
var namespace = isUserNamespace ? null : $scope.namespace;
|
var namespace = $scope.isUserNamespace ? null : $scope.namespace;
|
||||||
PlanService.changePlan($scope, namespace, $scope.planRequired.stripeId, callbacks);
|
PlanService.changePlan($scope, namespace, $scope.planRequired.stripeId, callbacks);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return directiveDefinitionObject;
|
return directiveDefinitionObject;
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue