mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
fix: show the accelerate project box on the cloud console only
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7060 GitOrigin-RevId: 6718c5412d8541f0ab19f4d53e6afa20543b9e8c
This commit is contained in:
parent
25cc0b75d6
commit
e27ed1eb5b
@ -381,7 +381,9 @@ const ManageDatabase: React.FC<ManageDatabaseProps> = ({
|
||||
}, [queryResponse.isSuccess, queryResponse.data]);
|
||||
|
||||
const showAccelerateProjectSection =
|
||||
!showCheckLatencyButton && !checkHighLatencySources(latencyCheckData);
|
||||
isCloudConsole(globals) &&
|
||||
!showCheckLatencyButton &&
|
||||
!checkHighLatencySources(latencyCheckData);
|
||||
|
||||
return (
|
||||
<RightContainer>
|
||||
|
Loading…
Reference in New Issue
Block a user