Browse Source

get rid of bible links for normal books

imwald
Silberengel 3 months ago
parent
commit
024942f06f
  1. 7
      src/components/Bookstr/BookstrContent.tsx

7
src/components/Bookstr/BookstrContent.tsx

@ -208,9 +208,12 @@ function buildExternalUrl(reference: BookReference, bookType: string, version?:
return buildSefariaUrl(reference) return buildSefariaUrl(reference)
} else if (bookType === 'quran') { } else if (bookType === 'quran') {
return buildQuranComUrl(reference) return buildQuranComUrl(reference)
} else { } else if (bookType === 'bible') {
// Default to Bible Gateway for bible and other types // Only build Bible Gateway URL for bible type
return buildBibleGatewayUrl(reference, version) return buildBibleGatewayUrl(reference, version)
} else {
// For other types (like 'book'), return null - no external link
return null
} }
} }

Loading…
Cancel
Save