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

Remove todo

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>
This commit is contained in:
Janne Savolainen 2021-11-30 15:54:58 +02:00
parent 7664652a62
commit 9c6e9d7166

View File

@ -74,7 +74,6 @@ export class KubeObjectMenu<
this.props.hideDetails();
const { object, removeAction } = this.props;
// TODO: currently only branch for removeAction() is unit tested, and store.remove() is not.
if (removeAction) await removeAction();
else await this.store.remove(object);
}