Skip to content

Commit e6cc46c

Browse files
authored
šŸ› Bugfix: Clicking on the tenant name does not respond and the tenant name is not selected
šŸ› Bugfix: Clicking on the tenant name does not respond and the tenant name is not selected #2496
2 parents 6fe86f9 + fd2fea9 commit e6cc46c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

ā€Žfrontend/app/[locale]/tenant-resources/components/UserManageComp.tsxā€Ž

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,10 @@ function TenantList({
283283
? "bg-blue-50 border border-blue-200"
284284
: "hover:bg-gray-50"
285285
}`}
286+
onClick={() => onSelect(tenant.tenant_id)}
286287
>
287288
<div className="flex items-center justify-between">
288-
<div
289-
className="flex-1"
290-
onClick={() => onSelect(tenant.tenant_id)}
291-
>
289+
<div className="flex-1">
292290
{tenant.tenant_name || t("tenantResources.tenants.unnamed")}
293291
</div>
294292
<div className="opacity-0 group-hover:opacity-100 flex space-x-1">

0 commit comments

Comments
Ā (0)