From 3a5efd84ad937c7bf75d0dd0d5f5949d9db78e8e Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 29 Jun 2018 15:27:21 +0000 Subject: [PATCH] ref #11879: TDM - Update to StorageHUB https://support.d4science.org/issues/#11879 Updated to StorageHub git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-import-widget@169558 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../td/csvimportwidget/client/CSVWorkSpaceSelectionCard.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);