Skip to content
Snippets Groups Projects
Commit 2fe0d901 authored by juanf's avatar juanf
Browse files

SSDM-4551 : In case the second level folder is not called DEFAULT, is shown.

SVN: 37556
parent 78ca6d7e
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment