diff --git a/package-lock.json b/package-lock.json index 186b144ea..fceff2ad0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", - "@gridsuite/commons-ui": "0.272.1", + "@gridsuite/commons-ui": "0.273.0", "@hello-pangea/dnd": "^18.0.1", "@hookform/resolvers": "^4.1.3", "@mui/icons-material": "^7.3.11", @@ -3322,9 +3322,9 @@ } }, "node_modules/@gridsuite/commons-ui": { - "version": "0.272.1", - "resolved": "https://registry.npmjs.org/@gridsuite/commons-ui/-/commons-ui-0.272.1.tgz", - "integrity": "sha512-tLIDY+slUV/N81HkuzctLCx0Wl9YTGKMxrn3o/TIOH6mjFAUVme4P2Osy8Tu+njAU6b4/SzDcTGMfEAVwSomPw==", + "version": "0.273.0", + "resolved": "https://registry.npmjs.org/@gridsuite/commons-ui/-/commons-ui-0.273.0.tgz", + "integrity": "sha512-JUgyaJmH+kdpAvGt5vHMtgyu8MhhzhjbSOBY/ZOooyzUXT0L0wmjIj/nMGXL5y4mQNNyZZrt7IVWUWayXN+CpQ==", "license": "MPL-2.0", "dependencies": { "@ag-grid-community/locale": "^35.3.1", diff --git a/package.json b/package.json index b9229c338..5e069060f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", - "@gridsuite/commons-ui": "0.272.1", + "@gridsuite/commons-ui": "0.273.0", "@hello-pangea/dnd": "^18.0.1", "@hookform/resolvers": "^4.1.3", "@mui/icons-material": "^7.3.11", diff --git a/src/components/directory-content-dialog.tsx b/src/components/directory-content-dialog.tsx index cf7d941c0..1b5f27053 100644 --- a/src/components/directory-content-dialog.tsx +++ b/src/components/directory-content-dialog.tsx @@ -35,6 +35,7 @@ import { useSnackMessage, VoltageInitParametersEditionDialog, isProcessType, + SCProcessConfigEditionDialog, } from '@gridsuite/commons-ui'; import type { CellClickedEvent } from 'ag-grid-community'; import { useDispatch, useSelector } from 'react-redux'; @@ -536,6 +537,20 @@ function DirectoryContentDialog( /> ); } + if (currentProcessConfigType === ProcessType.SHORT_CIRCUIT) { + return ( + + ); + } } } }