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-json-export-widget@169562 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2018-06-29 15:34:35 +00:00 committed by Giancarlo Panichi
parent cc1a48841a
commit 5a0263839e
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ public class JSONWorkSpaceSelectionCard extends WizardCard {
@Override @Override
public void onSelectedItem(Item item) { public void onSelectedItem(Item item) {
Log.debug("Selected Item:" + item); Log.debug("Selected Item:" + item);
if (item.getType() == ItemType.FOLDER) { if (item.getType() == ItemType.FOLDER||item.getType() == ItemType.PRIVATE_FOLDER
||item.getType() == ItemType.SHARED_FOLDER||item.getType() == ItemType.VRE_FOLDER) {
thisCard.exportSession.setItemId(item.getId()); thisCard.exportSession.setItemId(item.getId());
} else { } else {
thisCard.exportSession.setItemId(null); thisCard.exportSession.setItemId(null);