use of resourceList

This commit is contained in:
Edouard Vanbelle
2026-05-26 23:21:58 +02:00
parent 6ac4e6177c
commit 720bf11168
6 changed files with 371 additions and 144 deletions
+5
View File
@@ -115,6 +115,9 @@ export class ResourceListComponent {
this._items.clear();
this._lastClickedIndex = -1;
// Prevent ui.js global delegation from firing on this container
this._container.dataset.managedBy = 'resource-list';
this._appendItems(folders, files, groupFn);
this._wireSelectAll();
}
@@ -138,6 +141,8 @@ export class ResourceListComponent {
this._selected.clear();
this._items.clear();
this._lastClickedIndex = -1;
// Hand delegation back to ui.js
delete this._container.dataset.managedBy;
}
/**