Skip to content

Commit 828724d

Browse files
fix(Tenants): do not show actions for domain (#2336)
1 parent a97e273 commit 828724d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/containers/Tenants/Tenants.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,11 @@ function getDBActionsColumn({
302302
render: ({row}) => {
303303
const menuItems: (DropdownMenuItem | DropdownMenuItem[])[] = [];
304304

305+
// Do not show edit and delete actions for domain
306+
if (row.Type === 'Domain') {
307+
return null;
308+
}
309+
305310
if (isEditDBAvailable) {
306311
menuItems.push({
307312
text: i18n('edit'),

0 commit comments

Comments
 (0)