Skip to content

Commit

Permalink
added delete option in extra button of environment
Browse files Browse the repository at this point in the history
  • Loading branch information
nxtCoder19 committed Jul 29, 2024
1 parent 0e1e7bd commit 674920f
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ const ExtraButton = ({ item, onAction }: IExtraButton) => {
key: 'clone',
onClick: () => onAction({ action: 'clone', item }),
},
{
label: 'Delete',
icon: <Trash size={16} />,
type: 'item',
onClick: () => onAction({ action: 'delete', item }),
key: 'delete',
className: '!text-text-critical',
},
{
label: 'Settings',
icon: <GearSix size={16} />,
Expand Down

0 comments on commit 674920f

Please sign in to comment.