fix: greptile review comments

This commit is contained in:
Piyush Gupta
2025-10-08 23:24:12 +05:30
parent c91b803933
commit 4576fdfdbb
2 changed files with 19 additions and 21 deletions
@@ -69,7 +69,7 @@ export const identityDALFactory = (db: TDbClient) => {
.replicaNode()(TableName.Identity) .replicaNode()(TableName.Identity)
.where((qb) => { .where((qb) => {
if (searchTerm) { if (searchTerm) {
void qb.whereILike(`${TableName.Identity}.name`, `%${searchTerm}%`); void qb.whereILike(`name`, `%${searchTerm}%`);
} }
}) })
.count("*") .count("*")
@@ -132,7 +132,6 @@ const IdentityPanelTable = ({
</IconButton> </IconButton>
</DropdownMenuTrigger> </DropdownMenuTrigger>
<DropdownMenuContent sideOffset={2} align="end"> <DropdownMenuContent sideOffset={2} align="end">
{isInstanceAdmin && (
<DropdownMenuItem <DropdownMenuItem
onClick={(e) => { onClick={(e) => {
e.stopPropagation(); e.stopPropagation();
@@ -151,7 +150,6 @@ const IdentityPanelTable = ({
> >
Remove Server Admin Remove Server Admin
</DropdownMenuItem> </DropdownMenuItem>
)}
</DropdownMenuContent> </DropdownMenuContent>
</DropdownMenu> </DropdownMenu>
</div> </div>