fix(usage): display usage tabs base on access permissions
This commit is contained in:
@@ -103,7 +103,7 @@ export const probeAccessFlags = async (): Promise<{
|
||||
probeHasKubernetesCluster(),
|
||||
probeHasResourceEvents()
|
||||
]);
|
||||
return { hasKubernetesCluster: false, hasResourceEvents: false };
|
||||
return { hasKubernetesCluster, hasResourceEvents };
|
||||
};
|
||||
|
||||
// Module-scoped marker for "did `getInitialState` actually run the access
|
||||
|
||||
Reference in New Issue
Block a user