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) {
|
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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user