@semiont/react-ui 0.2.34-build.92 → 0.2.34
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.
package/package.json
CHANGED
|
@@ -227,9 +227,9 @@ export function UnifiedAnnotationsPanel(props: UnifiedAnnotationsPanelProps) {
|
|
|
227
227
|
|
|
228
228
|
const annotations = grouped[activeTab] || [];
|
|
229
229
|
const isAssisting = props.assistingMotivation === annotator.motivation;
|
|
230
|
-
//
|
|
231
|
-
// This
|
|
232
|
-
const progress = props.progress ?? null;
|
|
230
|
+
// Only pass progress to the panel whose motivation matches assistingMotivation
|
|
231
|
+
// This prevents progress from appearing in wrong tabs
|
|
232
|
+
const progress = isAssisting ? (props.progress ?? null) : null;
|
|
233
233
|
|
|
234
234
|
// Common props for all annotation panels
|
|
235
235
|
const commonProps = {
|