From c9ed06bd5bdc659ed3625ecbbac77618eecc489f Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 19 Sep 2026 09:15:07 +0200 Subject: [PATCH] Add support for country codes to entity logo component --- libs/common/src/lib/helper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/common/src/lib/helper.ts b/libs/common/src/lib/helper.ts index f73b98e5cb..6e50911322 100644 --- a/libs/common/src/lib/helper.ts +++ b/libs/common/src/lib/helper.ts @@ -66,8 +66,6 @@ export const DATE_FORMAT = 'yyyy-MM-dd'; export const DATE_FORMAT_MONTHLY = 'MMMM yyyy'; export const DATE_FORMAT_YEARLY = 'yyyy'; -const VALID_COUNTRY_CODES = new Set([...Object.keys(countries), 'EU']); - // Settings which describe the person looking at the screen rather than the // portfolio being looked at. They stay with the authenticated user while // impersonating. Every other setting follows the impersonated user. @@ -91,6 +89,8 @@ const USER_SETTINGS_KEYS_OF_AUTHENTICATED_USER: (keyof UserSettings)[] = [ 'viewMode' ]; +const VALID_COUNTRY_CODES = new Set([...Object.keys(countries), 'EU']); + export function applyAssetProfileOverrides>( assetProfile: T, assetProfileOverrides: AssetProfileOverrides | null