Skip to content

Commit 6c774d0

Browse files
fix(venn): SKFP-1508 update save modal title for somatic (Ferlab-Ste-Justine#606)
1 parent 2a88464 commit 6c774d0

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

packages/ui/Release.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### 10.24.3 2025-04-23
2+
- fix: SKFP-1508 fix venn save modal title for somatic
3+
14
### 10.24.2 2025-04-23
25
- fix: SJIP-1336 fix select all page behavior on table
36

packages/ui/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ferlab/ui",
3-
"version": "10.24.2",
3+
"version": "10.24.3",
44
"description": "Core components for scientific research data portals",
55
"publishConfig": {
66
"access": "public"

packages/ui/src/components/Charts/Venn/SaveModal.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
22
import { InfoCircleOutlined, WarningFilled } from '@ant-design/icons';
33
import { Checkbox, Form, Input, Modal, Space, Tooltip } from 'antd';
44

5-
import { IUserSetOutput } from '../../BiospecimenRequest/requestBiospecimen.utils';
5+
import { IUserSetOutput, SetType } from '../../BiospecimenRequest/requestBiospecimen.utils';
66

77
import { ISetOperation, THandleSubmit, TVennChartSaveDictionary } from './utils';
88

@@ -62,7 +62,11 @@ const SaveModal = ({
6262
}}
6363
open={isOpen}
6464
style={{ top: 200 }}
65-
title={entity === 'variants' ? dictionary.titleVariant : dictionary.titleData}
65+
title={
66+
entity === SetType.VARIANT || entity === SetType.SOMATIC
67+
? dictionary.titleVariant
68+
: dictionary.titleData
69+
}
6670
>
6771
<Form
6872
className={styles.saveForm}

storybook/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)