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