minor fix on group retrieval

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@141390 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-12-22 22:33:25 +00:00
parent fc37476794
commit 7fda2a764e
1 changed files with 3 additions and 2 deletions

View File

@ -521,8 +521,9 @@ public class CreateDatasetForm extends Composite{
if(groups == null){
setAlertBlock("Error while retrieving groups, try later", AlertType.ERROR, true);
}else{
if(groups.isEmpty())
return;
if(groups.isEmpty()){
// ...
}
else{
// add groups