NT only - Fixed center seal

This commit is contained in:
h202-wq
2026-08-19 07:47:58 -04:00
parent d6af254eab
commit b3f5186459
3 changed files with 24 additions and 6 deletions
+3
View File
@@ -60,7 +60,10 @@ export async function loadKJV(): Promise<Verse[]> {
if (!res.ok) throw new Error(`Failed to load scripture (${res.status})`)
const data = (await res.json()) as KJVData
flat = []
let inNewTestament = false
for (const book of data.books) {
if (book.book === 'Matthew') inNewTestament = true
if (!inNewTestament) continue
const name = book.book === 'Psalms' ? 'Psalm' : book.book
for (const chapter of book.chapters) {
const chapterNumber = Number(chapter.chapter)