ctt-babylon 0.13.27 → 0.13.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/ctt-babylon.mjs
CHANGED
|
@@ -4874,7 +4874,10 @@ class MapperService {
|
|
|
4874
4874
|
return undefined;
|
|
4875
4875
|
}
|
|
4876
4876
|
const { texts, multimedia, buttons } = props?.room;
|
|
4877
|
-
|
|
4877
|
+
let detailButtons = props.buttons?.length ? props.buttons : buttons;
|
|
4878
|
+
if (buttons.length > 1) {
|
|
4879
|
+
detailButtons = [buttons[1]];
|
|
4880
|
+
}
|
|
4878
4881
|
return {
|
|
4879
4882
|
title: texts?.name,
|
|
4880
4883
|
description: texts?.additional4 !== undefined &&
|