RED-10326: fix display of documents in trash on retention capacity chart.

This commit is contained in:
Nicoleta Panaghiu 2024-10-29 16:39:22 +02:00
parent 8a8c1b957f
commit e5c3d9c07b

View File

@ -78,9 +78,9 @@ export class LicenseRetentionCapacityComponent {
return [
{
data: monthlyData.flatMap(d => d.activeFilesUploadedBytes),
label: this._translateService.instant('license-info-screen.retention-capacity-usage.active-documents'),
...getLineConfig(ChartGreen, false, 'origin'),
data: monthlyData.flatMap(d => d.trashFilesUploadedBytes),
label: this._translateService.instant('license-info-screen.retention-capacity-usage.trash-documents'),
...getLineConfig(ChartRed, false, 'origin'),
stack: 'storage',
},
{
@ -90,9 +90,9 @@ export class LicenseRetentionCapacityComponent {
stack: 'storage',
},
{
data: monthlyData.flatMap(d => d.trashFilesUploadedBytes),
label: this._translateService.instant('license-info-screen.retention-capacity-usage.trash-documents'),
...getLineConfig(ChartRed, false, '-1'),
data: monthlyData.flatMap(d => d.activeFilesUploadedBytes),
label: this._translateService.instant('license-info-screen.retention-capacity-usage.active-documents'),
...getLineConfig(ChartGreen, false, 'origin'),
stack: 'storage',
},
{