File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/custom/CatalogDesignTable Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ import RemoveCircleIcon from '@mui/icons-material/RemoveCircle' ;
1
2
import { Theme } from '@mui/material' ;
2
3
import { MUIDataTableColumn , MUIDataTableMeta } from 'mui-datatables' ;
3
4
import { Typography } from '../../base' ;
@@ -15,7 +16,6 @@ import { VIEW_VISIBILITY } from '../VisibilityChipMenu/VisibilityChipMenu';
15
16
import AuthorCell from './AuthorCell' ;
16
17
import { getColumnValue } from './helper' ;
17
18
import { L5DeleteIcon , NameDiv } from './style' ;
18
- import RemoveCircleIcon from '@mui/icons-material/RemoveCircle' ;
19
19
20
20
interface TableMeta extends MUIDataTableMeta {
21
21
rowIndex : number ;
@@ -222,10 +222,14 @@ export const createDesignsColumnsConfig = ({
222
222
)
223
223
} ,
224
224
{
225
- title : isFromWorkspaceTable ? 'Move Design' : 'Delete' ,
225
+ title : isFromWorkspaceTable ? 'Remove Design' : 'Delete' ,
226
226
disabled : isFromWorkspaceTable ? ! isRemoveAllowed : ! isDeleteAllowed ,
227
227
onClick : ( ) => handleDeleteModal ( rowData ) ( ) ,
228
- icon : isFromWorkspaceTable ? < RemoveCircleIcon style = { { color :theme ?. palette . icon . default } } /> : < L5DeleteIcon />
228
+ icon : isFromWorkspaceTable ? (
229
+ < RemoveCircleIcon style = { { color : theme ?. palette . icon . default } } />
230
+ ) : (
231
+ < L5DeleteIcon />
232
+ )
229
233
}
230
234
] ;
231
235
You can’t perform that action at this time.
0 commit comments