mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 09:28:36 +00:00
fix: greptile review comments
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user