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 newGroupLayout = (0, utils_1.getGroupForMultiple)(parsedLayouts[layoutByDevice].filter(function (each) { return groupedCBIds.includes(each.i); }));
125
- filteredLayout.push(newGroupLayout);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "0.3.47",
3
+ "version": "0.3.48",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pds-dev-kit-web-test Release Notes
2
- ## [v0.3.47]
2
+ ## [v0.3.48]
3
3
  ## 기준 pds-dev-kit-web 버전 @2.2.41
4
4
  ### sub
5
5
  * DynamicLayout
6
- * bulk index를 가장 높게 수정
6
+ * bulk 삭제 그룹에러 fix