mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix crash related to mimatched runnable injection tokens
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
f178cf05eb
commit
8f3bc84dd9
@ -5,7 +5,7 @@
|
|||||||
import { getInjectable } from "@ogre-tools/injectable";
|
import { getInjectable } from "@ogre-tools/injectable";
|
||||||
import kubeconfigSyncManagerInjectable from "../../../catalog-sources/kubeconfig-sync/manager.injectable";
|
import kubeconfigSyncManagerInjectable from "../../../catalog-sources/kubeconfig-sync/manager.injectable";
|
||||||
import catalogEntityRegistryInjectable from "../../../catalog/entity-registry.injectable";
|
import catalogEntityRegistryInjectable from "../../../catalog/entity-registry.injectable";
|
||||||
import { afterRootFrameIsReadyInjectionToken } from "../../runnable-tokens/after-root-frame-is-ready-injection-token";
|
import { afterApplicationIsLoadedInjectionToken } from "../../runnable-tokens/after-application-is-loaded-injection-token";
|
||||||
|
|
||||||
const addKubeconfigSyncAsEntitySourceInjectable = getInjectable({
|
const addKubeconfigSyncAsEntitySourceInjectable = getInjectable({
|
||||||
id: "add-kubeconfig-sync-as-entity-source",
|
id: "add-kubeconfig-sync-as-entity-source",
|
||||||
@ -20,7 +20,7 @@ const addKubeconfigSyncAsEntitySourceInjectable = getInjectable({
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
injectionToken: afterRootFrameIsReadyInjectionToken,
|
injectionToken: afterApplicationIsLoadedInjectionToken,
|
||||||
});
|
});
|
||||||
|
|
||||||
export default addKubeconfigSyncAsEntitySourceInjectable;
|
export default addKubeconfigSyncAsEntitySourceInjectable;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user