diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/widgets/DatasetViewerView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/widgets/DatasetViewerView.js index 7227d3e92b9ad10ecfd1b45928d2573d5995ccec..72d88c44d64f2e7eca866e1ed3a89059d9b88cf4 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/widgets/DatasetViewerView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/DataSetForm/widgets/DatasetViewerView.js @@ -231,6 +231,10 @@ function DataSetViewerView(dataSetViewerController, dataSetViewerModel) { if (file.isDirectory == false) { return false; } - return file.pathInDataSet.split('/').length < this._level + var currentLevel = file.pathInDataSet.split('/').length; + if(currentLevel === 2 && file.pathInListing !== "DEFAULT") { + return false; + } + return currentLevel < this._level } } \ No newline at end of file