@molgenis/vip-report-template 8.2.0 → 8.2.2
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
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
pnpm config set registry "https://registry.npmjs.org"
|
|
3
3
|
pnpm config set //registry.npmjs.org/:_authToken "${NPM_TOKEN}"
|
|
4
4
|
# workaround: packageManager is added to package.json after git checkout resulting in 'Unclean working tree' error
|
|
5
|
-
pnpm publish --no-git-checks .
|
|
5
|
+
pnpm publish --no-git-checks .
|
|
@@ -4,7 +4,7 @@ import { FieldString } from "../typed/FieldString";
|
|
|
4
4
|
import { CellValueHpo } from "../../../types/configCellComposed";
|
|
5
5
|
|
|
6
6
|
type HpoTerm = {
|
|
7
|
-
|
|
7
|
+
label: string;
|
|
8
8
|
href: string;
|
|
9
9
|
};
|
|
10
10
|
|
|
@@ -13,7 +13,7 @@ export const FieldHpo: Component<{
|
|
|
13
13
|
}> = (props) => {
|
|
14
14
|
const hpoTerms = (): HpoTerm[] =>
|
|
15
15
|
props.value.hpos.map((category) => ({
|
|
16
|
-
|
|
16
|
+
label: category!.label,
|
|
17
17
|
href: `https://hpo.jax.org/app/browse/term/${encodeURI(category!.value!)}`,
|
|
18
18
|
}));
|
|
19
19
|
|
|
@@ -26,7 +26,7 @@ export const FieldHpo: Component<{
|
|
|
26
26
|
<>
|
|
27
27
|
{i() !== 0 && <span>, </span>}
|
|
28
28
|
<Anchor href={hpoTerm.href}>
|
|
29
|
-
<FieldString value={hpoTerm.
|
|
29
|
+
<FieldString value={hpoTerm.label} />
|
|
30
30
|
</Anchor>
|
|
31
31
|
</>
|
|
32
32
|
)}
|