mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Improve comment.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
parent
6965379de1
commit
9e8ea205f9
@ -47,9 +47,9 @@ export const initClusterFrame =
|
|||||||
|
|
||||||
catalogEntityRegistry.activeEntity = hostedCluster.id;
|
catalogEntityRegistry.activeEntity = hostedCluster.id;
|
||||||
|
|
||||||
// Only load the extensions once the catalog has been populated
|
// Only load the extensions once the catalog has been populated.
|
||||||
|
// Note that the Catalog might still have unprocessed entities until the extensions are fully loaded.
|
||||||
when(
|
when(
|
||||||
// watch for .items, as .activeEntity might be populated only after extensions are loaded (if using custom Catalog Category)
|
|
||||||
() => catalogEntityRegistry.items.length > 0,
|
() => catalogEntityRegistry.items.length > 0,
|
||||||
() =>
|
() =>
|
||||||
loadExtensions(() => catalogEntityRegistry.activeEntity as KubernetesCluster),
|
loadExtensions(() => catalogEntityRegistry.activeEntity as KubernetesCluster),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user