@cqa-lib/cqa-ui 1.1.531 → 1.1.532
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/esm2020/lib/templates/modular-table-template/modular-table-template.component.mjs +6 -3
- package/fesm2015/cqa-lib-cqa-ui.mjs +6 -2
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +5 -2
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/templates/modular-table-template/modular-table-template.component.d.ts +4 -1
- package/package.json +1 -1
|
@@ -10372,11 +10372,15 @@ class ModularTableTemplateComponent {
|
|
|
10372
10372
|
return null;
|
|
10373
10373
|
return this.findFolder(this.folders, this.selectedFolderId);
|
|
10374
10374
|
}
|
|
10375
|
-
/** Count of test cases directly under the currently-selected folder (excluding descendants).
|
|
10375
|
+
/** Count of test cases directly under the currently-selected folder (excluding descendants).
|
|
10376
|
+
* Reads `FolderNode.count` so the header badge matches the sidebar row count
|
|
10377
|
+
* (folder-sidebar.component.html renders the same `row.node.count`). Using
|
|
10378
|
+
* `filteredRows.length` here would only reflect the currently-rendered page. */
|
|
10376
10379
|
get currentFolderDirectCount() {
|
|
10380
|
+
var _a, _b;
|
|
10377
10381
|
if (this.selectedFolderId == null)
|
|
10378
10382
|
return 0;
|
|
10379
|
-
return this.
|
|
10383
|
+
return (_b = (_a = this.currentFolderNode) === null || _a === void 0 ? void 0 : _a.count) !== null && _b !== void 0 ? _b : 0;
|
|
10380
10384
|
}
|
|
10381
10385
|
/**
|
|
10382
10386
|
* Renders the empty-state slot when the host explicitly opts in, OR when the
|