forked from baron/baron-sso
Format adminfront code check targets
This commit is contained in:
@@ -71,8 +71,7 @@ export function normalizeSchemaField(field: unknown): SchemaField {
|
||||
type,
|
||||
required: Boolean(source.required),
|
||||
adminOnly: Boolean(source.adminOnly),
|
||||
validation:
|
||||
typeof source.validation === "string" ? source.validation : "",
|
||||
validation: typeof source.validation === "string" ? source.validation : "",
|
||||
unsigned: Boolean(source.unsigned),
|
||||
isLoginId,
|
||||
indexed: isLoginId || Boolean(source.indexed),
|
||||
|
||||
Reference in New Issue
Block a user