Only group delete visible items (#4798)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-02-07 10:40:20 -05:00
1 parent 06ec1b39a4
commit 4abe0d6c20
7 files changed
+57 -45

No files matched your search

@@ -73,8 +73,8 @@ export class PortForwardStore extends ItemStore<PortForwardItem> {
});
}
async removeSelectedItems() {
return Promise.all(this.selectedItems.map(this.remove));
async removeItems(items: PortForwardItem[]) {
await Promise.all(items.map(this.remove));
}
getById(id: string) {