Skip to content

Commit

Permalink
fix: temporarly hide ui for gpus
Browse files Browse the repository at this point in the history
  • Loading branch information
jtary committed Aug 31, 2023
1 parent 4f8d940 commit 3728bde
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/src/components/SdlConfiguration/SdlConfiguration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ export const SdlConfiguration: React.FC<SdlConfigurationProps> = ({
const forbidEditing = configurationType === SdlConfigurationType.Update;
const hasGPU = getRpcNode().networkType === 'testnet';

// hide the GPU section for now
const showGpu = false;

return (
<React.Fragment>
{progressVisible && (
Expand Down Expand Up @@ -200,7 +203,7 @@ export const SdlConfiguration: React.FC<SdlConfigurationProps> = ({
disabled={forbidEditing}
/>

{hasGPU && <Gpu currentProfile={profile} disabled={forbidEditing} />}
{hasGPU && showGpu && <Gpu currentProfile={profile} disabled={forbidEditing} />}

<h1 className="font-medium">Ports</h1>
<Ports serviceName={serviceName} services={services} />
Expand Down

0 comments on commit 3728bde

Please sign in to comment.