Add messaging when trying to create a team that already exists

Fixes https://jira.coreos.com/browse/QUAY-827
This commit is contained in:
Joseph Schorr 2018-02-15 16:03:09 -05:00
parent 33b7ca0eaa
commit 72ca758c88
4 changed files with 16 additions and 4 deletions

View file

@ -101,6 +101,10 @@ angular.module('quay').directive('teamsManager', function () {
};
$scope.handleTeamCreated = function(created) {
if (!created.new_team) {
return;
}
var teamname = created.name;
created['member_count'] = 0;