parent
7c40eb8d87
commit
a85126ea97
1 changed files with 4 additions and 0 deletions
|
@ -171,6 +171,10 @@ function(ApiService, CookieService, $rootScope, Config, $location) {
|
||||||
|
|
||||||
userService.deleteNamespace = function(info, callback) {
|
userService.deleteNamespace = function(info, callback) {
|
||||||
var namespace = info.user ? info.user.username : info.organization.name;
|
var namespace = info.user ? info.user.username : info.organization.name;
|
||||||
|
if (!namespace) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var deleteNamespaceItself = function() {
|
var deleteNamespaceItself = function() {
|
||||||
info.progress = 1;
|
info.progress = 1;
|
||||||
info.progressMessage = 'Deleting namespace...';
|
info.progressMessage = 'Deleting namespace...';
|
||||||
|
|
Reference in a new issue