Update QuillSense conditional logic in UI components

- Adjusted conditions in `ScribeControllerBar`, `DraftCompanion`, and `DraftWordCount` to respect `QuillSense` enablement.
- Ensured consistent handling of `quillsenseEnabled` property across features.
This commit is contained in:
natreex
2026-01-14 09:23:08 -05:00
parent fc42269c8c
commit 7215ac5c4f
2 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ export default function ScribeControllerBar() {
<div className="min-w-[180px]">
<SelectBox onChangeCallBack={(e) => 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(),