Skip to content

Commit

Permalink
Merge pull request Ferlab-Ste-Justine#385 from Ferlab-Ste-Justine/fea…
Browse files Browse the repository at this point in the history
…t/SKFP-934/cavatica-bulk

fix: SKFP-934 fix ok button text on cavatica analyse modal
  • Loading branch information
lflangis authored Feb 1, 2024
2 parents cc5d7b2 + a1df8ac commit db8cbc2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
3 changes: 3 additions & 0 deletions packages/ui/Release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 8.2.1 2024-02-01
- fix: SKFP-934 fix ok button text on cavatica analyse modal

### 8.2.1 2024-01-31
- fix: FLUI-116 fix the operator tooltip in QueryBuild to be on a single line

Expand Down
4 changes: 2 additions & 2 deletions packages/ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ferlab/ui",
"version": "8.2.1",
"version": "8.2.2",
"description": "Core components for scientific research data portals",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ export type TCavaticaAnalyseModalDictionary = {

export interface ICavaticaAnalyseModal extends ModalFuncProps {
bulkImportData: ICavaticaBulkImportData;
projects: ICavaticaProjects;
handleFilesAndFolders: (parentId: string, isProject: boolean) => any;
dictionary?: TCavaticaAnalyseModalDictionary;
handleCreateProjectClick?: () => void;
handleFilesAndFolders: (parentId: string, isProject: boolean) => any;
handleSubmit: (value: ICavaticaTreeNode) => void;
dictionary?: TCavaticaAnalyseModalDictionary;
projects: ICavaticaProjects;
}

const aggregateFilesToStudy = (filesToCopy: any[]) =>
Expand All @@ -64,12 +64,12 @@ const aggregateFilesToStudy = (filesToCopy: any[]) =>
}));

const CavaticaAnalyseModal = ({
projects,
bulkImportData,
dictionary = DEFAULT_CAVATICA_ANALYSE_MODAL_DICTIONARY,
handleCreateProjectClick,
handleFilesAndFolders,
handleSubmit,
handleCreateProjectClick,
dictionary = DEFAULT_CAVATICA_ANALYSE_MODAL_DICTIONARY,
projects,
...rest
}: ICavaticaAnalyseModal): JSX.Element => {
const { authorizedFiles, files } = bulkImportData;
Expand Down Expand Up @@ -116,6 +116,7 @@ const CavaticaAnalyseModal = ({
className={styles.cavaticaAnalyseModal}
destroyOnClose
okButtonProps={{ disabled: selectedTreeNode === undefined }}
okText={dictionary.copyFiles}
onOk={() => {
if (selectedTreeNode) {
handleSubmit(selectedTreeNode);
Expand Down

0 comments on commit db8cbc2

Please sign in to comment.