File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/custom/CatalogDesignTable Expand file tree Collapse file tree 1 file changed +7
-2
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' ;
@@ -221,10 +222,14 @@ export const createDesignsColumnsConfig = ({
221
222
)
222
223
} ,
223
224
{
224
- title : isFromWorkspaceTable ? 'Move Design' : 'Delete' ,
225
+ title : isFromWorkspaceTable ? 'Remove Design' : 'Delete' ,
225
226
disabled : isFromWorkspaceTable ? ! isRemoveAllowed : ! isDeleteAllowed ,
226
227
onClick : ( ) => handleDeleteModal ( rowData ) ( ) ,
227
- icon : < L5DeleteIcon />
228
+ icon : isFromWorkspaceTable ? (
229
+ < RemoveCircleIcon style = { { color : theme ?. palette . icon . default } } />
230
+ ) : (
231
+ < L5DeleteIcon />
232
+ )
228
233
}
229
234
] ;
230
235
You can’t perform that action at this time.
0 commit comments