diff --git a/components/dashboard/src/projects/ProjectSettings.tsx b/components/dashboard/src/projects/ProjectSettings.tsx
index 670f9dc0ee8e08..955b634cedda2b 100644
--- a/components/dashboard/src/projects/ProjectSettings.tsx
+++ b/components/dashboard/src/projects/ProjectSettings.tsx
@@ -94,22 +94,25 @@ export default function () {
checked={!project.settings?.keepOutdatedPrebuildsRunning}
onChange={({ target }) => updateProjectSettings({ keepOutdatedPrebuildsRunning: !target.checked })}
/>
-
-
Workspace Persistence
-
- Enable Persistent Volume Claim{" "}
-
- Experimental
-
-
- }
- desc={Experimental feature that is still under development.}
- checked={project.settings?.usePersistentVolumeClaim ?? false}
- disabled={!showPersistentVolumeClaimUI}
- onChange={({ target }) => updateProjectSettings({ usePersistentVolumeClaim: target.checked })}
- />
+ {showPersistentVolumeClaimUI && (
+ <>
+
+ Workspace Persistence
+
+ Enable Persistent Volume Claim{" "}
+
+ Experimental
+
+
+ }
+ desc={Experimental feature that is still under development.}
+ checked={project.settings?.usePersistentVolumeClaim ?? false}
+ onChange={({ target }) => updateProjectSettings({ usePersistentVolumeClaim: target.checked })}
+ />
+ >
+ )}
);
}