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:
parent
7664652a62
commit
9c6e9d7166
@ -74,7 +74,6 @@ export class KubeObjectMenu<
|
|||||||
this.props.hideDetails();
|
this.props.hideDetails();
|
||||||
const { object, removeAction } = this.props;
|
const { object, removeAction } = this.props;
|
||||||
|
|
||||||
// TODO: currently only branch for removeAction() is unit tested, and store.remove() is not.
|
|
||||||
if (removeAction) await removeAction();
|
if (removeAction) await removeAction();
|
||||||
else await this.store.remove(object);
|
else await this.store.remove(object);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user