diff --git a/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVWorkSpaceSelectionCard.java b/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVWorkSpaceSelectionCard.java index 2cf7395..cb9071d 100644 --- a/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVWorkSpaceSelectionCard.java +++ b/src/main/java/org/gcube/portlets/user/td/csvimportwidget/client/CSVWorkSpaceSelectionCard.java @@ -77,7 +77,8 @@ public class CSVWorkSpaceSelectionCard extends WizardCard { @Override public void onSelectedItem(Item item) { Log.debug("Selected Item:" + item); - if (item.getType() == ItemType.EXTERNAL_FILE) { + if (item.getType() != ItemType.FOLDER||item.getType() != ItemType.PRIVATE_FOLDER + ||item.getType() != ItemType.SHARED_FOLDER||item.getType() != ItemType.VRE_FOLDER) { String filename = item.getName(); if (filename != null && !filename.isEmpty()) { Log.debug("Item name: " + filename);