We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb3a7f0 commit d053e39Copy full SHA for d053e39
components/dashboard/src/projects/ProjectListItem.tsx
@@ -25,11 +25,7 @@ export const ProjectListItem: FunctionComponent<ProjectListItemProps> = ({ proje
25
const [showRemoveModal, setShowRemoveModal] = useState(false);
26
const { data: prebuild, isLoading } = useLatestProjectPrebuildQuery({ projectId: project.id });
27
28
- const enablePrebuilds =
29
- !!project.settings?.enablePrebuilds ||
30
- // TODO(at): out of scope for now, but once we've migrated the settings of existings projects
31
- // we can remove the implicit enablement here
32
- !project.settings;
+ const enablePrebuilds = Project.isPrebuildsEnabled(project);
33
34
return (
35
<div key={`project-${project.id}`} className="h-52">
0 commit comments