forked from baron/baron-sso
chore: fix frontend lints and format issues
- Resolve 'noDelete' by using undefined assignment in TenantSchemaPage - Resolve React list key warning by using client_id in UserDetailPage - Run biome formatter across modified components
This commit is contained in:
@@ -127,7 +127,7 @@ export function TenantSchemaPage() {
|
||||
mutationFn: (newFields: SchemaField[]) => {
|
||||
// Remove legacy loginIdField, keep isLoginId natively in userSchema
|
||||
const newConfig = { ...tenantQuery.data?.config };
|
||||
delete newConfig.loginIdField;
|
||||
newConfig.loginIdField = undefined;
|
||||
newConfig.userSchema = newFields;
|
||||
|
||||
return updateTenant(tenantId, {
|
||||
|
||||
Reference in New Issue
Block a user