diff --git a/backend/src/routes/api/accelerators/acceleratorUtils.ts b/backend/src/routes/api/accelerators/acceleratorUtils.ts index b99850a0ab..d80b12b42a 100644 --- a/backend/src/routes/api/accelerators/acceleratorUtils.ts +++ b/backend/src/routes/api/accelerators/acceleratorUtils.ts @@ -49,7 +49,7 @@ export const getAcceleratorNumbers = async ( // if any accelerators are available, the cluster is configured const configured = - info.configured ?? Object.values(info.available).some((value) => value > 0); + info.configured || Object.values(info.available).some((value) => value > 0); return { total: info.total,