Adding missing await

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2023-03-10 07:46:56 +03:00
1 parent 55f7bebced
commit 3dd02245a4
1 file changed
+1 -1
@@ -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);
} }