mirror of
https://github.com/wahyd4/kt-connect.git
synced 2026-08-08 21:08:04 +10:00
disable ops for visturl rule
This commit is contained in:
@@ -68,26 +68,26 @@ export default class VirtualService extends Component {
|
||||
})
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '',
|
||||
key: 'Ops',
|
||||
render: (httpRoute) => {
|
||||
return [
|
||||
{
|
||||
name: 'Edit',
|
||||
icon: 'edit',
|
||||
onClick: () => { console.log('add version') }
|
||||
},
|
||||
{
|
||||
name: 'Remove',
|
||||
icon: 'delete',
|
||||
onClick: () => { console.log('add version') }
|
||||
}
|
||||
].map((btn, index) => {
|
||||
return <Button key={`httpRoute-btn-${index}`} shape="circle"><Icon type={btn.icon} /></Button>
|
||||
})
|
||||
}
|
||||
}
|
||||
// {
|
||||
// title: '',
|
||||
// key: 'Ops',
|
||||
// render: (httpRoute) => {
|
||||
// return [
|
||||
// {
|
||||
// name: 'Edit',
|
||||
// icon: 'edit',
|
||||
// onClick: () => { console.log('add version') }
|
||||
// },
|
||||
// {
|
||||
// name: 'Remove',
|
||||
// icon: 'delete',
|
||||
// onClick: () => { console.log('add version') }
|
||||
// }
|
||||
// ].map((btn, index) => {
|
||||
// return <Button key={`httpRoute-btn-${index}`} shape="circle"><Icon type={btn.icon} /></Button>
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
]} />
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user