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

Adding missing await

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2023-03-10 07:46:56 +03:00
parent 55f7bebced
commit 3dd02245a4

View File

@ -212,7 +212,7 @@ export class NamespaceStore extends KubeObjectStore<Namespace, NamespaceApi> {
@action @action
async remove(item: Namespace) { async remove(item: Namespace) {
if (item.isSubnamespace()) { if (item.isSubnamespace()) {
this.dependencies.deleteSubnamespace(item.getName()); await this.dependencies.deleteSubnamespace(item.getName());
} else { } else {
await super.remove(item); await super.remove(item);
} }