Skip to content

Commit

Permalink
Merge branch 'main' into create-cspr-modification-form
Browse files Browse the repository at this point in the history
  • Loading branch information
ghazwarhili authored Oct 3, 2024
2 parents 409f6b4 + d2ef17e commit da9d063
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
8 changes: 4 additions & 4 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@gridsuite/commons-ui": "0.66.0",
"@gridsuite/commons-ui": "0.66.1",
"@hookform/resolvers": "^3.3.4",
"@mui/icons-material": "^5.15.14",
"@mui/lab": "5.0.0-alpha.169",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { FormattedMessage } from 'react-intl';
import { Badge, Button } from '@mui/material';
import { Badge, IconButton } from '@mui/material';
import { Calculate as CalculateIcon } from '@mui/icons-material';
import { useSelector } from 'react-redux';
import { TABLES_NAMES } from '../utils/config-tables';
Expand All @@ -26,8 +26,10 @@ export default function CustomColumnsConfig({ indexTab }: Readonly<CustomColumns

return (
<>
<Button color="inherit" onClick={dialogOpen.setTrue}>
<span>
<FormattedMessage id="spreadsheet/custom_column/main_button" />
</span>
<IconButton aria-label="dialog" onClick={dialogOpen.setTrue}>
<Badge
color="secondary"
anchorOrigin={{
Expand All @@ -38,7 +40,8 @@ export default function CustomColumnsConfig({ indexTab }: Readonly<CustomColumns
>
<CalculateIcon />
</Badge>
</Button>
</IconButton>

<CustomColumnDialog
indexTab={indexTab}
open={dialogOpen}
Expand Down
2 changes: 1 addition & 1 deletion src/components/spreadsheet/table-wrapper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ const TableWrapper = (props) => {
/>
</Grid>
{developerMode && (
<Grid item>
<Grid item sx={{ marginLeft: '15px' }}>
<CustomColumnsConfig indexTab={tabIndex} />
</Grid>
)}
Expand Down

0 comments on commit da9d063

Please sign in to comment.