From e7ee235b31a8b874934b1f19d5ef6ac95711ef70 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 10 May 2018 12:42:33 +0300 Subject: [PATCH] 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 --- static/js/directives/ui/create-robot-dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/directives/ui/create-robot-dialog.js b/static/js/directives/ui/create-robot-dialog.js index 3ef3912cc..b9c92ef16 100644 --- a/static/js/directives/ui/create-robot-dialog.js +++ b/static/js/directives/ui/create-robot-dialog.js @@ -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() {