mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Only group delete visible items (#4798)
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user