1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix PortForwardStore

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-02-07 08:57:53 -05:00
parent f4d80a27c0
commit aa503c3f71

View File

@ -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) {