From 99f9153d0c3b88d478db42c48341dfea57a5b259 Mon Sep 17 00:00:00 2001 From: mufazalov Date: Tue, 27 May 2025 22:49:45 +0300 Subject: [PATCH] fix(Tenants): do not show actions for domain --- src/containers/Tenants/Tenants.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/containers/Tenants/Tenants.tsx b/src/containers/Tenants/Tenants.tsx index 2658a2776..5c80ff820 100644 --- a/src/containers/Tenants/Tenants.tsx +++ b/src/containers/Tenants/Tenants.tsx @@ -302,6 +302,11 @@ function getDBActionsColumn({ render: ({row}) => { const menuItems: (DropdownMenuItem | DropdownMenuItem[])[] = []; + // Do not show edit and delete actions for domain + if (row.Type === 'Domain') { + return null; + } + if (isEditDBAvailable) { menuItems.push({ text: i18n('edit'),