Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Remove default filterValues from chatbot
Browse files Browse the repository at this point in the history
  • Loading branch information
mamikals committed Sep 29, 2023
1 parent 41983ad commit 6803d40
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions src/komponenter/footer/chatbot/ChatbotWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -75,11 +75,6 @@ export const ChatbotWrapper = () => {
multiline: true,
},
},
header: {
filters: {
filterValues: preferredFilter,
},
},
},
};

Expand Down

0 comments on commit 6803d40

Please sign in to comment.