From 883a1e7154f04f906a1591dbf3a408679df2dd87 Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 20 Dec 2023 11:01:18 +0100 Subject: [PATCH] [Angular] Metric page not showing metric params --- .../angular/templates/src/main/webapp/app/app.component.ts.ejs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/generators/angular/templates/src/main/webapp/app/app.component.ts.ejs b/generators/angular/templates/src/main/webapp/app/app.component.ts.ejs index fab6de1e1d9d..f89477859768 100644 --- a/generators/angular/templates/src/main/webapp/app/app.component.ts.ejs +++ b/generators/angular/templates/src/main/webapp/app/app.component.ts.ejs @@ -18,14 +18,13 @@ -%> import { Component, inject } from '@angular/core'; import { registerLocaleData } from '@angular/common'; -import locale from '@angular/common/locales/en'; import dayjs from 'dayjs/esm'; import { FaIconLibrary } from '@fortawesome/angular-fontawesome'; import { NgbDatepickerConfig } from '@ng-bootstrap/ng-bootstrap'; import { provideRouter } from '@angular/router'; import { registerLocaleData } from '@angular/common'; import { HttpClientModule } from '@angular/common/http'; -import locale from '@angular/common/locales/en'; +import locale from '@angular/common/locales/<%= angularLocaleId %>'; import { FaIconLibrary } from '@fortawesome/angular-fontawesome'; import dayjs from 'dayjs/esm'; import appRoutes from './app.routes';