@rxap/material-table-system 13.5.2 → 13.5.3
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/table-row-controls/row-controls-header-cell/row-controls-header-cell.component.mjs +10 -1
- package/fesm2015/rxap-material-table-system.mjs +9 -0
- package/fesm2015/rxap-material-table-system.mjs.map +1 -1
- package/fesm2020/rxap-material-table-system.mjs +9 -0
- package/fesm2020/rxap-material-table-system.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1497,6 +1497,15 @@ class RowControlsHeaderCellComponent {
|
|
|
1497
1497
|
this.tableFilter?.change.pipe(map((filter) => !filter ||
|
|
1498
1498
|
!filter.hasOwnProperty('__archived') ||
|
|
1499
1499
|
filter['__archived'] === false), distinctUntilChanged()) ?? of(true);
|
|
1500
|
+
if (!this.archiveRemoteMethod) {
|
|
1501
|
+
this.showArchive$ = of(false);
|
|
1502
|
+
}
|
|
1503
|
+
if (!this.unarchiveRemoteMethod) {
|
|
1504
|
+
this.showUnarchive$ = of(false);
|
|
1505
|
+
}
|
|
1506
|
+
if (!this.deleteRemoteMethod) {
|
|
1507
|
+
this.showDelete$ = of(false);
|
|
1508
|
+
}
|
|
1500
1509
|
}
|
|
1501
1510
|
async archiveSelected(selectedRows) {
|
|
1502
1511
|
if (this.archiveRemoteMethod && selectedRows) {
|