Replacing loadAll() to loadFromContextNamespaces()

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-02-15 12:33:45 +03:00
1 parent fab7fc54b4
commit 4130bf24a3
1 file changed
+2 -2
@@ -33,7 +33,7 @@ export class ReleaseStore extends ItemStore<HelmRelease> {
}); });
if (amountChanged || labelsChanged) { if (amountChanged || labelsChanged) {
this.loadAll(); this.loadFromContextNamespaces();
} }
this.releaseSecrets = [...secrets]; this.releaseSecrets = [...secrets];
}); });
@@ -58,7 +58,7 @@ export class ReleaseStore extends ItemStore<HelmRelease> {
} }
@action @action
async loadAll(namespaces = namespaceStore.allowedNamespaces) { async loadAll(namespaces: string[]) {
this.isLoading = true; this.isLoading = true;
try { try {