mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix namespace details not opening (#6865)
* Fix namespace details not opening Signed-off-by: Sebastian Malton <sebastian@malton.name> * Update tests Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
d157418164
commit
0ded989338
7 files changed
+1049
-34
No files matched your search
@@ -249,7 +249,7 @@ function legacyRegisterApi(api: KubeApi<any, any>): void {
|
||||
const di = getEnvironmentSpecificLegacyGlobalDiForExtensionApi(Environments.renderer);
|
||||
const autoRegistrationEmitter = di.inject(autoRegistrationEmitterInjectable);
|
||||
|
||||
autoRegistrationEmitter.emit("kubeApi", api);
|
||||
setImmediate(() => autoRegistrationEmitter.emit("kubeApi", api));
|
||||
} catch {
|
||||
// ignore error
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user