Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into Bugfix-abelpz-1596
  • Loading branch information
jincypjose committed Jun 23, 2023
2 parents 99f3c5d + b17171b commit 30f5d60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/build_number
Original file line number Diff line number Diff line change
@@ -1 +1 @@
264-8a577b2
265-99f3c5d
3 changes: 2 additions & 1 deletion src/components/translatable/RowHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ export default function RowHeader({
if (columnNames.includes('OrigQuote')) {
columnNamesToUse = ['Reference', 'Chapter', 'Verse', 'OrigQuote', 'Occurrence'];
} else {
columnNamesToUse = ['Reference', 'Chapter', 'Verse', 'Quote', 'Occurrence'];
columnNamesToUse = ['Reference', 'Chapter', 'Verse', columnNames.includes('OrigWords') ? 'OrigWords' : 'Quote', 'Occurrence'];
}

const indices = columnNamesToUse.map(columnName => {
const index = columnIndexOfColumnNameFromColumnNames({ columnNames, columnName });
return index;
});

const [referenceIndex, chapterIndex, verseIndex, quoteIndex, occurrenceIndex] = indices;

if (referenceIndex > -1) {
Expand Down

0 comments on commit 30f5d60

Please sign in to comment.