File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/* eslint-disable @typescript-eslint/no-explicit-any */
2+ import RemoveCircleIcon from '@mui/icons-material/RemoveCircle' ;
23import { MUIDataTableColumn , MUIDataTableMeta } from 'mui-datatables' ;
34import React , { useState } from 'react' ;
45import { Box , Typography } from '../../base' ;
5- import { DeleteIcon , EnvironmentIcon , ViewIcon } from '../../icons' ;
6+ import { EnvironmentIcon , ViewIcon } from '../../icons' ;
67import { useTheme } from '../../theme' ;
78import { NameDiv } from '../CatalogDesignTable/style' ;
89import { RESOURCE_TYPES } from '../CatalogDetail/types' ;
@@ -227,7 +228,7 @@ const WorkspaceViewsTable: React.FC<ViewsTableProps> = ({
227228 customBodyRender : ( _ : string , tableMeta : MUIDataTableMeta ) => (
228229 < IconWrapper disabled = { ! isRemoveAllowed } >
229230 < TooltipIcon
230- id = { `delete_team -${ tableMeta . rowIndex } ` }
231+ id = { `delete_view -${ tableMeta . rowIndex } ` }
231232 title = "Remove View"
232233 onClick = { ( ) => {
233234 isRemoveAllowed &&
@@ -238,7 +239,7 @@ const WorkspaceViewsTable: React.FC<ViewsTableProps> = ({
238239 } }
239240 iconType = "delete"
240241 >
241- < DeleteIcon height = { 28 } width = { 28 } fill = { theme . palette . icon . default } />
242+ < RemoveCircleIcon style = { { color : theme ? .palette . icon . default } } /> { ' ' }
242243 </ TooltipIcon >
243244 </ IconWrapper >
244245 )
You can’t perform that action at this time.
0 commit comments