Merge pull request #3100 from quay/joseph.schorr/QUAY-815/empty-irc

Fix config setup tool contact field to allow removal of empty non-URL fields
This commit is contained in:
Joseph Schorr 2018-06-01 13:53:40 -04:00 committed by GitHub
commit 835caecf7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1114,6 +1114,10 @@ angular.module("core-config-setup", ['angularFileUpload'])
var updateBinding = function() {
if ($scope.value == null) { return; }
var value = $scope.value || '';
if (!value) {
$scope.binding = '';
return;
}
switch ($scope.kind) {
case 'mailto':