Skip to content

Commit

Permalink
Merge pull request #28 from unfoldingWord/develop
Browse files Browse the repository at this point in the history
develop into main
  • Loading branch information
richmahn authored May 31, 2024
2 parents 5ef9fe2 + 1f4a82b commit e89ffda
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/RcObsStudyNotes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ ${convertNoteFromMD2HTML(row.Note, bookId, 'front')}
for (let storyIdx = 0; storyIdx < 50; storyIdx++) {
const storyStr = String(storyIdx + 1);
html += `
<div id="obs-${bookId}-${storyStr}" class="section obs-sn-chapter-section" data-toc-title="${obsData.stories[storyIdx].title}">
<div id="nav-${bookId}-${storyStr}" class="section obs-sn-chapter-section" data-toc-title="${obsData.stories[storyIdx].title}">
<h2 class="obs-sn-chapter-header"><a href="#nav-${bookId}-${storyStr}" class="header-link">${obsData.stories[storyIdx].title}</a></h2>
`;
if (snTsvData?.[storyStr]?.['intro']) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/RcObsStudyQuestions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ export default function RcObsStudyQuestions() {
setHtml(html);
};

if (obsData && Object.keys(sqTsvData).length) {
if (obsData && sqTsvData) {
generateHtml();
}
}, [
Expand Down
2 changes: 1 addition & 1 deletion src/components/RcObsTranslationQuestions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ export default function RcObsTranslationQuestions() {
setHtml(html);
};

if (obsData && Object.keys(tqTsvData).length) {
if (obsData && tqTsvData) {
generateHtml();
}
}, [
Expand Down

0 comments on commit e89ffda

Please sign in to comment.