Fix error displayed if a description was not entered for creating a robot

We were sending a `null` description, which the schema does not allow

Fixes https://jira.coreos.com/browse/QUAY-935
This commit is contained in:
Joseph Schorr 2018-05-10 12:42:33 +03:00
parent babb7bb803
commit e7ee235b31

View file

@ -30,7 +30,7 @@ angular.module('quay').directive('createRobotDialog', function () {
};
var data = {
'description': description
'description': description || ''
};
var errorDisplay = ApiService.errorDisplay('Cannot create robot account', function() {