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:
parent
fab7fc54b4
commit
4130bf24a3
@ -33,7 +33,7 @@ export class ReleaseStore extends ItemStore<HelmRelease> {
|
||||
});
|
||||
|
||||
if (amountChanged || labelsChanged) {
|
||||
this.loadAll();
|
||||
this.loadFromContextNamespaces();
|
||||
}
|
||||
this.releaseSecrets = [...secrets];
|
||||
});
|
||||
@ -58,7 +58,7 @@ export class ReleaseStore extends ItemStore<HelmRelease> {
|
||||
}
|
||||
|
||||
@action
|
||||
async loadAll(namespaces = namespaceStore.allowedNamespaces) {
|
||||
async loadAll(namespaces: string[]) {
|
||||
this.isLoading = true;
|
||||
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user