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

Replacing loadAll() to loadFromContextNamespaces()

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-02-15 12:33:45 +03:00
parent fab7fc54b4
commit 4130bf24a3

View File

@ -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 {