diff --git a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/CreateDatasetForm.java b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/CreateDatasetForm.java index ab2bcd5..616df38 100644 --- a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/CreateDatasetForm.java +++ b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/CreateDatasetForm.java @@ -330,12 +330,12 @@ public class CreateDatasetForm extends Composite{ // if there are not resources, for now just checked it ( and hide so that the step will be skipped) TODO -// if(bean.getResources() == null || bean.getResources().isEmpty()){ + if(bean.getResources() == null || bean.getResources().isEmpty()){ resourcesControlGroup.setVisible(false); alertNoResources.setType(AlertType.WARNING); alertNoResources.setVisible(true); -// } + } // try to retrieve the licenses setAlertBlock("Retrieving licenses, please wait...", AlertType.INFO, true);