ctt-babylon 0.8.9 → 0.8.10
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
|
@@ -2562,6 +2562,7 @@ class MapperService {
|
|
|
2562
2562
|
},
|
|
2563
2563
|
},
|
|
2564
2564
|
rooms: props?.rooms
|
|
2565
|
+
?.filter((room, index, self) => self.findIndex((r) => r.id === room.id) === index)
|
|
2565
2566
|
?.map((item) => ({
|
|
2566
2567
|
buttons: Utils.mapButtons(item?.buttons?.slice().reverse()),
|
|
2567
2568
|
links: Utils.mapButtons(item?.links),
|