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:
parent
55f7bebced
commit
3dd02245a4
@ -212,7 +212,7 @@ export class NamespaceStore extends KubeObjectStore<Namespace, NamespaceApi> {
|
||||
@action
|
||||
async remove(item: Namespace) {
|
||||
if (item.isSubnamespace()) {
|
||||
this.dependencies.deleteSubnamespace(item.getName());
|
||||
await this.dependencies.deleteSubnamespace(item.getName());
|
||||
} else {
|
||||
await super.remove(item);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user