Skip to content
Snippets Groups Projects
Commit 9db360a5 authored by juanf's avatar juanf
Browse files

SSDM-1071 : PAPER - Empty Trashcan

SVN: 32844
parent d3faf5aa
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,18 @@ function TrashManagerView(trashManagerController, trashManagerModel) { ...@@ -46,6 +46,18 @@ function TrashManagerView(trashManagerController, trashManagerModel) {
label : 'Reason', label : 'Reason',
property : 'reason', property : 'reason',
sortable : true sortable : true
} , {
label : 'Total Experiments',
property : 'totalExperiments',
sortable : true
} , {
label : 'Total Samples',
property : 'totalSamples',
sortable : true
} , {
label : 'Total Datasets',
property : 'totalDatasets',
sortable : true
}]; }];
var getDataList = function(callback) { var getDataList = function(callback) {
...@@ -59,11 +71,16 @@ function TrashManagerView(trashManagerController, trashManagerModel) { ...@@ -59,11 +71,16 @@ function TrashManagerView(trashManagerController, trashManagerModel) {
} else { } else {
entities = ""; entities = "";
} }
entities += deletion.deletedEntities[enIdx].entityKind + " - " + deletion.deletedEntities[enIdx].identifier entities += deletion.deletedEntities[enIdx].entityKind
+ " - " + deletion.deletedEntities[enIdx].identifier
+ " (" + deletion.deletedEntities[enIdx].entityType + ")";
} }
dataList.push({ dataList.push({
entities : entities, entities : entities,
reason : deletion.reasonOrNull reason : deletion.reasonOrNull,
totalExperiments : deletion.totalExperimentsCount,
totalSamples : deletion.totalSamplesCount,
totalDatasets : deletion.totalDatasetsCount
}); });
} }
callback(dataList); callback(dataList);
......
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