Fix description handling in new repo view
This commit is contained in:
parent
41fb93de5c
commit
dbbec5a853
2 changed files with 4 additions and 1 deletions
|
@ -1028,7 +1028,8 @@ function NewRepoCtrl($scope, $location, $http, UserService, Restangular, PlanSer
|
|||
var repo = $scope.repo;
|
||||
var data = {
|
||||
'repository': repo.name,
|
||||
'visibility': repo.is_public == '1' ? 'public' : 'private'
|
||||
'visibility': repo.is_public == '1' ? 'public' : 'private',
|
||||
'description': repo.description
|
||||
};
|
||||
|
||||
var createPost = Restangular.one('repository');
|
||||
|
|
Reference in a new issue