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

Commit

Permalink
Merge pull request #1523 from navikt/chatbotTriggerBoostAction
Browse files Browse the repository at this point in the history
Triggers boost action from event when changing filter
  • Loading branch information
terjeofnorway authored Jan 24, 2024
2 parents faff65c + f82881e commit 8b4efb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/komponenter/footer/chatbot/ChatbotWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const ChatbotWrapper = () => {
});
boost.chatPanel.addEventListener('setFilterValue', function (ev: any) {
boost.chatPanel.setFilterValues(ev.detail.filterValue);
if (ev.detail.nextId) boost.chatPanel.triggerAction(ev.detail.nextId);
});

if (bufferLoad) {
Expand Down

0 comments on commit 8b4efb0

Please sign in to comment.