diff --git a/components/ScribeControllerBar.tsx b/components/ScribeControllerBar.tsx index 8a6d2f5..355963b 100644 --- a/components/ScribeControllerBar.tsx +++ b/components/ScribeControllerBar.tsx @@ -130,7 +130,7 @@ export default function ScribeControllerBar() {
handleChapterVersionChanged(parseInt(e.target.value))} data={chapterVersions.filter((version: SelectBoxProps): boolean => { - return !(version.value === '1' && !hasAccess); + return !(version.value === '1' && (!hasAccess || book?.quillsenseEnabled === false)); }).map((version: SelectBoxProps) => { return { value: version.value.toString(), diff --git a/components/editor/DraftCompanion.tsx b/components/editor/DraftCompanion.tsx index a350241..86a12e0 100644 --- a/components/editor/DraftCompanion.tsx +++ b/components/editor/DraftCompanion.tsx @@ -432,7 +432,7 @@ export default function DraftCompanion() { return element ? element.label : value; } - if (showEnhancer && hasAccess) { + if (showEnhancer && hasAccess && book?.quillsenseEnabled !== false) { return (
{draftWordCount}
{ - hasAccess && chapter?.chapterContent.version === 3 && ( + hasAccess && book?.quillsenseEnabled !== false && chapter?.chapterContent.version === 3 && (
setShowEnhancer(true)}