Skip to content

Commit

Permalink
Update version of scripture-tsv for verse of 'front' to be valid
Browse files Browse the repository at this point in the history
  • Loading branch information
kintsoogi committed Jan 11, 2024
1 parent 8faf60b commit 8f589a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"regenerator-runtime": "^0.13.7",
"resource-workspace-rcl": "2.1.4",
"scripture-resources-rcl": "5.5.9",
"scripture-tsv": "1.0.2",
"scripture-tsv": "1.0.3",
"single-scripture-rcl": "3.4.19",
"tailwindcss": "^2.0.4",
"tc-ui-toolkit": "5.3.3",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ResourceCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ export default function ResourceCard({
: onTsvAdd(row, chapter, verse, bookId, itemIndex)

handleSaveEdit(tsvsObjectToFileString(newTsvs))
setItemIndexPure(itemIndex + 1)
if (!!items.length) setItemIndexPure(itemIndex + 1)

Check warning on line 432 in src/components/ResourceCard.js

View check run for this annotation

Codecov / codecov/patch

src/components/ResourceCard.js#L432

Added line #L432 was not covered by tests
} catch (error) {
console.error(
'Input reference in new row is not of type chapter:verse',
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9905,10 +9905,10 @@ [email protected]:
word-aligner "^1.0.0"
xregexp "^4.1.1"

[email protected].2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/scripture-tsv/-/scripture-tsv-1.0.2.tgz#337b26ef2e75be16017623e59959b88c23f3f655"
integrity sha512-xYjt0FQnmjVjjFhC3iFNIPFQd/byOesk3noirWGE1RpBxDdKb7kaNkPxhwhHNvL3FGHW4BS3HzLklH94LmWYgw==
[email protected].3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/scripture-tsv/-/scripture-tsv-1.0.3.tgz#d7ba50e810fd88c4e17c940303970f7cd833a18c"
integrity sha512-rNAEdhV5Ru/05WBmnwilpCJajxx2suEVQ9hHVQJ6LNIpeVH5D0r5wM5XjEeZQa/p2AEAChBvG73r4o7+pLxhsQ==
dependencies:
lodash.clonedeep "^4.5.0"
tsv "^0.2.0"
Expand Down

0 comments on commit 8f589a0

Please sign in to comment.