Skip to content

Commit

Permalink
Merge pull request #265 from kloudlite/update/ui-changes
Browse files Browse the repository at this point in the history
Added delete option in extra button of environment
  • Loading branch information
nxtCoder19 authored Jul 29, 2024
2 parents 0e1e7bd + 674920f commit d7ccbf9
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 d7ccbf9

Please sign in to comment.