Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 925f4ec

Browse files
committed
Merge branch 'master' into fix/custom_json_issues
* master: Need to send the button click as a type button to handle the new skill trigger button type. BCP: https://support.wdf.sap.corp/sap/support/message/2070259505 Fix the carousel with only one item. Also remove un-used component markdown-to-jsx to fix audit issue.
2 parents f1069bc + 0990224 commit 925f4ec

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/components/Message/List.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const ListElement = ({ title, subtitle, imageUrl, buttons, sendMessage, readOnly
9191
) : (
9292
<div
9393
className={buttonClassName}
94-
onClick={() => sendMessage({ type: 'text', content: button.value })}
94+
onClick={() => sendMessage({ type: 'button', content: button }, _getButtonTitle(button, 480))}
9595
>
9696
{buttonTitle}
9797
</div>

src/components/Message/style.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
}
99
}
1010

11+
.slick-track {
12+
min-width: 280px;
13+
}
1114
.RecastApp .RecastAppMessage, .CaiApp .CaiAppMessage {
1215
display: flex;
1316
flex-direction: row-reverse;

0 commit comments

Comments
 (0)