From 674920f5823ab8d004ad0611dd7e25ea67e151b3 Mon Sep 17 00:00:00 2001 From: Piyush Kumar Date: Mon, 29 Jul 2024 15:24:24 +0530 Subject: [PATCH] added delete option in extra button of environment --- .../$account+/environments/environment-resources-v2.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/apps/console/routes/_main+/$account+/environments/environment-resources-v2.tsx b/src/apps/console/routes/_main+/$account+/environments/environment-resources-v2.tsx index 6cb849ff4..0551bd9b7 100644 --- a/src/apps/console/routes/_main+/$account+/environments/environment-resources-v2.tsx +++ b/src/apps/console/routes/_main+/$account+/environments/environment-resources-v2.tsx @@ -92,6 +92,14 @@ const ExtraButton = ({ item, onAction }: IExtraButton) => { key: 'clone', onClick: () => onAction({ action: 'clone', item }), }, + { + label: 'Delete', + icon: , + type: 'item', + onClick: () => onAction({ action: 'delete', item }), + key: 'delete', + className: '!text-text-critical', + }, { label: 'Settings', icon: ,