From 7276966af9068452967ed98f4bc02fa8705c8b7b Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Tue, 9 Jul 2024 13:35:38 +0300 Subject: [PATCH] RED-9597: fixed missing labels. --- .../license-analysis-capacity-usage.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/red-ui/src/app/modules/admin/screens/license/components/license-analysis-capacity-usage/license-analysis-capacity-usage.component.ts b/apps/red-ui/src/app/modules/admin/screens/license/components/license-analysis-capacity-usage/license-analysis-capacity-usage.component.ts index 98d336405..e6ad9de2f 100644 --- a/apps/red-ui/src/app/modules/admin/screens/license/components/license-analysis-capacity-usage/license-analysis-capacity-usage.component.ts +++ b/apps/red-ui/src/app/modules/admin/screens/license/components/license-analysis-capacity-usage/license-analysis-capacity-usage.component.ts @@ -4,7 +4,7 @@ import { map } from 'rxjs/operators'; import { ChartDataset } from 'chart.js'; import { ChartBlue, ChartGreen, ChartRed } from '../../utils/constants'; import { getDataUntilCurrentMonth, getLabelsFromLicense, getLineConfig, isCurrentMonthAndYear } from '../../utils/functions'; -import { TranslateService } from '@ngx-translate/core'; +import { TranslateModule, TranslateService } from '@ngx-translate/core'; import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'; import { size } from '@iqser/common-ui/lib/utils'; import { ILicenseData } from '@red/domain'; @@ -17,7 +17,7 @@ import { ChartComponent } from '../chart/chart.component'; templateUrl: './license-analysis-capacity-usage.component.html', styleUrls: ['./license-analysis-capacity-usage.component.scss'], standalone: true, - imports: [SizePipe, DecimalPipe, ChartComponent, AsyncPipe, NgIf], + imports: [SizePipe, DecimalPipe, ChartComponent, AsyncPipe, NgIf, TranslateModule], }) export class LicenseAnalysisCapacityUsageComponent { readonly data$ = this.licenseService.selectedLicense$.pipe(map(() => this.#getData()));