diff --git a/public/build_number b/public/build_number index 5af03a13..4d17c86d 100644 --- a/public/build_number +++ b/public/build_number @@ -1 +1 @@ -210-1dcfb53 +211-463611d diff --git a/src/components/translatable/TranslatableTSV.js b/src/components/translatable/TranslatableTSV.js index ce9ffc87..61c64359 100644 --- a/src/components/translatable/TranslatableTSV.js +++ b/src/components/translatable/TranslatableTSV.js @@ -151,7 +151,7 @@ export default function TranslatableTSV({ display: (filterList, onChange, _index, column, filterData) => { const filterValues = filterData[REF_FILTER_INDEX].reduce( (cv, reference, i) => { - const [chapter, verse] = reference.replace('\t', "").split(":"); + const [chapter, verse] = reference.match(/(?:\\t)*([\d\w]+):([\d\w]+)/)?.[0].split(":"); if(!cv[chapter]) cv[chapter] = []; cv[chapter].push(verse) return cv;