From 6803d40be277fd2f01dbfabb871925587db06117 Mon Sep 17 00:00:00 2001 From: Morten Mikalsen Date: Fri, 29 Sep 2023 09:56:50 +0200 Subject: [PATCH] Remove default filterValues from chatbot --- .../footer/chatbot/ChatbotWrapper.tsx | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/komponenter/footer/chatbot/ChatbotWrapper.tsx b/src/komponenter/footer/chatbot/ChatbotWrapper.tsx index c8d2b2d71..eb1cf7388 100644 --- a/src/komponenter/footer/chatbot/ChatbotWrapper.tsx +++ b/src/komponenter/footer/chatbot/ChatbotWrapper.tsx @@ -56,12 +56,12 @@ export const ChatbotWrapper = () => { return; } - let preferredFilter; - if (arbeidsflate === MenuValue.ARBEIDSGIVER) { - preferredFilter = 'arbeidsgiver'; - } else { - preferredFilter = language === Locale.NYNORSK ? 'nynorsk' : 'bokmal'; - } + // let preferredFilter; + // if (arbeidsflate === MenuValue.ARBEIDSGIVER) { + // preferredFilter = 'arbeidsgiver'; + // } else { + // preferredFilter = language === Locale.NYNORSK ? 'nynorsk' : 'bokmal'; + // } const options: BoostConfig = { chatPanel: { @@ -75,11 +75,6 @@ export const ChatbotWrapper = () => { multiline: true, }, }, - header: { - filters: { - filterValues: preferredFilter, - }, - }, }, };