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)
.where((qb) => {
if (searchTerm) {
void qb.whereILike(`${TableName.Identity}.name`, `%${searchTerm}%`);
void qb.whereILike(`name`, `%${searchTerm}%`);
}
})
.count("*")
@@ -132,7 +132,6 @@ const IdentityPanelTable = ({
</IconButton>
</DropdownMenuTrigger>
<DropdownMenuContent sideOffset={2} align="end">
{isInstanceAdmin && (
<DropdownMenuItem
onClick={(e) => {
e.stopPropagation();
@@ -151,7 +150,6 @@ const IdentityPanelTable = ({
>
Remove Server Admin
</DropdownMenuItem>
)}
</DropdownMenuContent>
</DropdownMenu>
</div>