diff --git a/extensions/src/platform-scripture/src/checks/configure-checks/configure-checks.component.tsx b/extensions/src/platform-scripture/src/checks/configure-checks/configure-checks.component.tsx index 94d6064871..a63a5076fb 100644 --- a/extensions/src/platform-scripture/src/checks/configure-checks/configure-checks.component.tsx +++ b/extensions/src/platform-scripture/src/checks/configure-checks/configure-checks.component.tsx @@ -98,9 +98,15 @@ export default function ConfigureChecks({ ); }, [activeRanges]); + const noAvailableChecks = useMemo(() => availableChecks.length === 0, [availableChecks]); + const singleEmptyCheck = useMemo( + () => availableChecks.length === 1 && availableChecks[0].checkId === '', + [availableChecks], + ); + return (
- {availableChecks.length === 0 ? ( + {noAvailableChecks || singleEmptyCheck ? (