File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint-disable @typescript-eslint/no-explicit-any */
2
+ import RemoveCircleIcon from '@mui/icons-material/RemoveCircle' ;
2
3
import { MUIDataTableColumn , MUIDataTableMeta } from 'mui-datatables' ;
3
4
import React , { useState } from 'react' ;
4
5
import { Box , Typography } from '../../base' ;
5
- import { DeleteIcon , EnvironmentIcon , ViewIcon } from '../../icons' ;
6
+ import { EnvironmentIcon , ViewIcon } from '../../icons' ;
6
7
import { useTheme } from '../../theme' ;
7
8
import { NameDiv } from '../CatalogDesignTable/style' ;
8
9
import { RESOURCE_TYPES } from '../CatalogDetail/types' ;
@@ -227,7 +228,7 @@ const WorkspaceViewsTable: React.FC<ViewsTableProps> = ({
227
228
customBodyRender : ( _ : string , tableMeta : MUIDataTableMeta ) => (
228
229
< IconWrapper disabled = { ! isRemoveAllowed } >
229
230
< TooltipIcon
230
- id = { `delete_team -${ tableMeta . rowIndex } ` }
231
+ id = { `delete_view -${ tableMeta . rowIndex } ` }
231
232
title = "Remove View"
232
233
onClick = { ( ) => {
233
234
isRemoveAllowed &&
@@ -238,7 +239,7 @@ const WorkspaceViewsTable: React.FC<ViewsTableProps> = ({
238
239
} }
239
240
iconType = "delete"
240
241
>
241
- < DeleteIcon height = { 28 } width = { 28 } fill = { theme . palette . icon . default } />
242
+ < RemoveCircleIcon style = { { color : theme ? .palette . icon . default } } /> { ' ' }
242
243
</ TooltipIcon >
243
244
</ IconWrapper >
244
245
)
You can’t perform that action at this time.
0 commit comments