diff --git a/apps/web/components/ChatPanel/types.ts b/apps/web/components/ChatPanel/types.ts index 86aee28e8b9b..f512038a7fdc 100644 --- a/apps/web/components/ChatPanel/types.ts +++ b/apps/web/components/ChatPanel/types.ts @@ -24,7 +24,11 @@ export interface WatsonChatPanelProps { carbonTheme?: string // What key in the 'ChatPanels' UI Configuration in Contentful stores the language pack for this chat bot - namespaceKey?: 'default' | 'ukrainian-citizens' | 'skatturinn' + namespaceKey?: + | 'default' + | 'ukrainian-citizens' + | 'skatturinn' + | 'samgongustofa' // eslint-disable-next-line @typescript-eslint/no-explicit-any onLoad?: (instance: any) => void diff --git a/apps/web/components/Organization/Wrapper/config.ts b/apps/web/components/Organization/Wrapper/config.ts index fea6d72ffdd7..51aea21ac53c 100644 --- a/apps/web/components/Organization/Wrapper/config.ts +++ b/apps/web/components/Organization/Wrapper/config.ts @@ -116,7 +116,7 @@ export const watsonConfig: Record< serviceInstanceID: 'bc3d8312-d862-4750-b8bf-529db282050a', showLauncher: false, carbonTheme: 'g10', - namespaceKey: 'default', + namespaceKey: 'samgongustofa', }, }, is: { @@ -127,7 +127,7 @@ export const watsonConfig: Record< serviceInstanceID: 'bc3d8312-d862-4750-b8bf-529db282050a', showLauncher: false, carbonTheme: 'g10', - namespaceKey: 'default', + namespaceKey: 'samgongustofa', }, // Skatturinn - Organization diff --git a/apps/web/components/ServiceWeb/config.ts b/apps/web/components/ServiceWeb/config.ts index f545bb261ff3..0decdaf0ae43 100644 --- a/apps/web/components/ServiceWeb/config.ts +++ b/apps/web/components/ServiceWeb/config.ts @@ -113,7 +113,7 @@ export const watsonConfig: Record< serviceInstanceID: 'bc3d8312-d862-4750-b8bf-529db282050a', showLauncher: false, carbonTheme: 'g10', - namespaceKey: 'default', + namespaceKey: 'samgongustofa', }, }, en: { @@ -147,7 +147,7 @@ export const watsonConfig: Record< serviceInstanceID: 'bc3d8312-d862-4750-b8bf-529db282050a', showLauncher: false, carbonTheme: 'g10', - namespaceKey: 'default', + namespaceKey: 'samgongustofa', }, }, } diff --git a/apps/web/screens/Article/components/ArticleChatPanel/config.ts b/apps/web/screens/Article/components/ArticleChatPanel/config.ts index 8b4f165bb28e..7a70dae30f12 100644 --- a/apps/web/screens/Article/components/ArticleChatPanel/config.ts +++ b/apps/web/screens/Article/components/ArticleChatPanel/config.ts @@ -59,7 +59,7 @@ export const watsonConfig: Record< serviceInstanceID: 'bc3d8312-d862-4750-b8bf-529db282050a', showLauncher: false, carbonTheme: 'g10', - namespaceKey: 'default', + namespaceKey: 'samgongustofa', onLoad(instance) { setupOneScreenWatsonChatBot( instance, @@ -287,7 +287,7 @@ export const watsonConfig: Record< serviceInstanceID: 'bc3d8312-d862-4750-b8bf-529db282050a', showLauncher: false, carbonTheme: 'g10', - namespaceKey: 'default', + namespaceKey: 'samgongustofa', }, }, is: { @@ -298,7 +298,7 @@ export const watsonConfig: Record< serviceInstanceID: 'bc3d8312-d862-4750-b8bf-529db282050a', showLauncher: false, carbonTheme: 'g10', - namespaceKey: 'default', + namespaceKey: 'samgongustofa', }, // Uppfletting í ökutækjaskrá @@ -309,7 +309,7 @@ export const watsonConfig: Record< serviceInstanceID: 'bc3d8312-d862-4750-b8bf-529db282050a', showLauncher: false, carbonTheme: 'g10', - namespaceKey: 'default', + namespaceKey: 'samgongustofa', onLoad(instance) { setupOneScreenWatsonChatBot( instance, @@ -327,7 +327,7 @@ export const watsonConfig: Record< serviceInstanceID: 'bc3d8312-d862-4750-b8bf-529db282050a', showLauncher: false, carbonTheme: 'g10', - namespaceKey: 'default', + namespaceKey: 'samgongustofa', onLoad(instance) { setupOneScreenWatsonChatBot( instance, @@ -345,7 +345,7 @@ export const watsonConfig: Record< serviceInstanceID: 'bc3d8312-d862-4750-b8bf-529db282050a', showLauncher: false, carbonTheme: 'g10', - namespaceKey: 'default', + namespaceKey: 'samgongustofa', onLoad(instance) { setupOneScreenWatsonChatBot( instance,