kyd-shared-badge 0.3.201 → 0.3.202
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
|
@@ -363,17 +363,12 @@ const AppendixTables: React.FC<AppendixTableProps> = ({ type, sources, searchedA
|
|
|
363
363
|
<td
|
|
364
364
|
className={'px-4 py-4 whitespace-normal text-sm font-medium'}
|
|
365
365
|
style={{ color: 'var(--text-main)' }}
|
|
366
|
-
title={'Observation attribute details are part of the KYD proprietary framework and are available on a case-by-case basis.'}
|
|
367
366
|
>
|
|
368
|
-
|
|
367
|
+
{(br.label && br.label.trim()) || (br.likert_label && br.likert_label.trim()) || '—'}
|
|
368
|
+
</td>
|
|
369
|
+
<td className={'px-4 py-4 whitespace-normal text-sm'} style={{ color: 'var(--text-secondary)' }}>
|
|
370
|
+
{Number.isFinite(Number(br.weight)) ? Number(br.weight).toString() : '0'}
|
|
369
371
|
</td>
|
|
370
|
-
<td className={'px-4 py-4 whitespace-normal text-sm'} style={{ color: 'var(--text-secondary)' }}>{(() => {
|
|
371
|
-
const weight = Number(br.weight);
|
|
372
|
-
if (!Number.isFinite(weight)) return 'Neutral';
|
|
373
|
-
if (weight > 0) return 'Positive';
|
|
374
|
-
if (weight < 0) return 'Negative';
|
|
375
|
-
return 'Neutral';
|
|
376
|
-
})()}</td>
|
|
377
372
|
</tr>
|
|
378
373
|
);
|
|
379
374
|
})}
|