NT only - Fixed center seal
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user