@cu-mkp/editioncrafter 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -107,8 +107,6 @@ function htmlToReactParserOptions(selectedZone, selectedTags) {
107
107
  function TranscriptionView(props) {
108
108
  const [searchParams] = useSearchParams()
109
109
 
110
- const { tags } = useContext(TagFilterContext)
111
-
112
110
  const {
113
111
  side,
114
112
  folioID,
@@ -118,6 +116,9 @@ function TranscriptionView(props) {
118
116
  documentViewActions,
119
117
  } = props
120
118
 
119
+ const { tagsLeft, tagsRight } = useContext(TagFilterContext)
120
+ const tags = side === 'left' ? tagsLeft : tagsRight
121
+
121
122
  if (folioID === '-1') {
122
123
  return (
123
124
  <Watermark
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cu-mkp/editioncrafter",
3
3
  "type": "module",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "private": false,
6
6
  "description": "A simple digital critical edition publication tool",
7
7
  "license": "MIT",