mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Merged PR 1895: feat(app): provide default currency code as EUR
feat(app): provide default currency code as EUR Refs: #5247 #5248
This commit is contained in:
committed by
Nino Righi
parent
6d26f7f6c0
commit
32bd3e26d2
@@ -4,6 +4,7 @@ import {
|
||||
withInterceptorsFromDi,
|
||||
} from '@angular/common/http';
|
||||
import {
|
||||
DEFAULT_CURRENCY_CODE,
|
||||
ErrorHandler,
|
||||
Injector,
|
||||
LOCALE_ID,
|
||||
@@ -228,6 +229,10 @@ export function _notificationsHubOptionsFactory(
|
||||
withRouteData(),
|
||||
),
|
||||
provideLogging(withLogLevel(LogLevel.Debug), withSink(ConsoleLogSink)),
|
||||
{
|
||||
provide: DEFAULT_CURRENCY_CODE,
|
||||
useValue: 'EUR',
|
||||
},
|
||||
],
|
||||
})
|
||||
export class AppModule {}
|
||||
|
||||
@@ -16,5 +16,5 @@ import { ProductFormatIconGroup } from '@isa/icons';
|
||||
export class ProductFormatIconComponent {
|
||||
format = input.required<string>();
|
||||
|
||||
formatLowerCase = computed(() => this.format().toLowerCase());
|
||||
formatLowerCase = computed(() => this.format()?.toLowerCase());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user