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-resources-widget@169563 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2018-06-29 15:38:40 +00:00
parent 65029f0a09
commit 194e71ade3
1 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,8 @@ public class WorkSpaceSelectionCard extends WizardCard {
@Override
public void onSelectedItem(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.saveResourceSession.setItemId(item.getId());
} else {
thisCard.saveResourceSession.setItemId(null);