mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Bump ogre-tools and adapt to breaking changes (#6481)
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
1 parent
2403e6d0cb
commit
646e953d47
12 files changed
+133
-108
No files matched your search
+5
-8
@@ -22,22 +22,19 @@ const extensionShouldBeEnabledForClusterFrameInjectable = getInjectable({
|
||||
) =>
|
||||
untracked(() => di.inject(extensionIsEnabledForClusterInjectable, { extension, cluster }));
|
||||
|
||||
return asyncComputed(
|
||||
async () => {
|
||||
return asyncComputed({
|
||||
getValueFromObservedPromise: async () => {
|
||||
const cluster = activeKubernetesCluster.get();
|
||||
|
||||
if (!cluster) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return getExtensionIsEnabledForCluster(
|
||||
extension,
|
||||
cluster,
|
||||
);
|
||||
return getExtensionIsEnabledForCluster(extension, cluster);
|
||||
},
|
||||
|
||||
false,
|
||||
);
|
||||
valueWhenPending: false,
|
||||
});
|
||||
},
|
||||
|
||||
lifecycle: lifecycleEnum.keyedSingleton({
|
||||
|
||||
Reference in new issue
Block a user