Complete favorites system version separation and homepage update

- **ChapterSelector**: Added version filtering for chapter favorites
- **VersionProp**: ChapterSelector now receives and uses version parameter
- **API calls**: Chapter favorites include version in create requests
- **Favorites filtering**: .filter(...&& fav.version === version) for both level and chapter favorites
- **Homepage text**: Changed 'Both translations' to 'All translations' for future-proofing
- **All favorite types**: Now properly separated by Bible version

Users can now safely favorite books/chapters/verses in different versions without cross-contamination.
This commit is contained in:
Ryderjj89
2025-09-28 15:32:08 -04:00
parent eeb30c24e8
commit 12c9a4a055
3 changed files with 12 additions and 8 deletions

View File

@@ -83,7 +83,7 @@ const VersionSelector: React.FC<VersionSelectorProps> = ({ onVersionSelect }) =>
<div className="text-center mt-12">
<p className="text-sm text-gray-500 dark:text-gray-400">
Both translations include the complete Old and New Testaments, with search and bookmarking features.
All translations include the complete Old and New Testaments, with search and bookmarking features.
</p>
</div>
</div>