@forgeroute/ui 0.4.99 → 0.5.0
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.
|
@@ -15557,6 +15557,10 @@ var DataTableComponent = class DataTableComponent {
|
|
|
15557
15557
|
}));
|
|
15558
15558
|
}
|
|
15559
15559
|
_confirmRowDelete() {
|
|
15560
|
+
if (!this._canEdit()) {
|
|
15561
|
+
this._rowDeleteTarget.set(null);
|
|
15562
|
+
return;
|
|
15563
|
+
}
|
|
15560
15564
|
const item = this._rowDeleteTarget();
|
|
15561
15565
|
if (!item || this._rowDeleting()) return;
|
|
15562
15566
|
this._rowDeleting.set(true);
|
|
@@ -16057,6 +16061,7 @@ var DataTableComponent = class DataTableComponent {
|
|
|
16057
16061
|
if (this._canEdit()) return;
|
|
16058
16062
|
untracked(() => {
|
|
16059
16063
|
if (this._selectedIds().size > 0 || this._activeBulkType()) this.clearSelection();
|
|
16064
|
+
this._rowDeleteTarget.set(null);
|
|
16060
16065
|
});
|
|
16061
16066
|
});
|
|
16062
16067
|
let paramsSeen = false;
|