diff --git a/src/komponenter/footer/chatbot/ChatbotWrapper.tsx b/src/komponenter/footer/chatbot/ChatbotWrapper.tsx index cb633a6ee..aad879a36 100644 --- a/src/komponenter/footer/chatbot/ChatbotWrapper.tsx +++ b/src/komponenter/footer/chatbot/ChatbotWrapper.tsx @@ -134,7 +134,7 @@ export const ChatbotWrapper = () => { }); boost.chatPanel.addEventListener('setFilterValue', function (ev: any) { boost.chatPanel.setFilterValues(ev.detail.filterValue); - boost.chatPanel.triggerAction(ev.detail.nextId); + if (ev.detail.nextId) boost.chatPanel.triggerAction(ev.detail.nextId); }); if (bufferLoad) {