Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit 9b57e1b

Browse files
committed
chore: linting
1 parent ab04510 commit 9b57e1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/core/localization/registry/localization.registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class UmbLocalizationRegistry {
3636
constructor(extensionRegistry: UmbBackofficeExtensionRegistry) {
3737
combineLatest([this.currentLanguage, extensionRegistry.byType('localization')]).subscribe(
3838
async ([currentLanguage, extensions]) => {
39-
const locale = new Intl.Locale(!!currentLanguage ? currentLanguage : UMB_DEFAULT_LOCALIZATION_CULTURE);
39+
const locale = new Intl.Locale(currentLanguage ? currentLanguage : UMB_DEFAULT_LOCALIZATION_CULTURE);
4040
const filteredExt = extensions.filter(
4141
(ext) =>
4242
ext.meta.culture.toLowerCase() === locale.baseName.toLowerCase() ||

0 commit comments

Comments
 (0)