ps-toolkit-ui 1.11.85 → 1.11.87
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/bundles/ps-toolkit-ui.umd.js +4 -2
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/sidebar/sidebar.component.js +4 -2
- package/esm2015/lib/components/table/row/table.row.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +4 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -2438,7 +2438,9 @@
|
|
|
2438
2438
|
}
|
|
2439
2439
|
});
|
|
2440
2440
|
service.currentCount.subscribe(function (c) {
|
|
2441
|
-
_this.currentSidebar
|
|
2441
|
+
if (_this.currentSidebar) {
|
|
2442
|
+
_this.currentSidebar.count += c;
|
|
2443
|
+
}
|
|
2442
2444
|
});
|
|
2443
2445
|
}
|
|
2444
2446
|
SidebarComponent.prototype.setActive = function () {
|
|
@@ -3219,7 +3221,7 @@
|
|
|
3219
3221
|
return this.row.Data.Id ? this.table.rows.filter(function (x) { return x.Data.ParentId === _this.row.Data.Id; }) : [];
|
|
3220
3222
|
};
|
|
3221
3223
|
TableRowComponent.prototype.getStatuses = function () {
|
|
3222
|
-
return this.row.Statuses.includes(exports.TableRowStatus.Unread) ? 'unread ' : '';
|
|
3224
|
+
return this.row.Statuses && this.row.Statuses.includes(exports.TableRowStatus.Unread) ? 'unread ' : '';
|
|
3223
3225
|
};
|
|
3224
3226
|
return TableRowComponent;
|
|
3225
3227
|
}());
|