pds-dev-kit-web-test 0.3.47 → 0.3.48
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.
|
@@ -121,8 +121,13 @@ var CommentList = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
121
121
|
var groupedCBIds = (_b = group === null || group === void 0 ? void 0 : group.childrenIds) !== null && _b !== void 0 ? _b : [];
|
|
122
122
|
var filteredLayout = (0, useGroupDrag_2.filterItemsById)(parsedLayouts[layoutByDevice], groupedCBIds);
|
|
123
123
|
if (group === null || group === void 0 ? void 0 : group.groupLayouts) {
|
|
124
|
-
var
|
|
125
|
-
|
|
124
|
+
var groupCbs = parsedLayouts[layoutByDevice].filter(function (each) {
|
|
125
|
+
return groupedCBIds.includes(each.i);
|
|
126
|
+
});
|
|
127
|
+
if (groupCbs.length > 0) {
|
|
128
|
+
var newGroupLayout = (0, utils_1.getGroupForMultiple)(groupCbs);
|
|
129
|
+
filteredLayout.push(newGroupLayout);
|
|
130
|
+
}
|
|
126
131
|
}
|
|
127
132
|
return __assign(__assign({}, prev), (_a = {}, _a[layoutByDevice] = filteredLayout, _a));
|
|
128
133
|
});
|
package/package.json
CHANGED
package/release-note.md
CHANGED