Formatting.

This commit is contained in:
mike12345567 2021-04-16 17:25:53 +01:00
parent 3a6cc28df0
commit aa467e7d63
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@
) )
$: required = !!field?.constraints?.presence || primaryDisplay $: required = !!field?.constraints?.presence || primaryDisplay
$: uneditable = $: uneditable =
$tables.selected?._id === TableNames.USERS && ($tables.selected?._id === TableNames.USERS &&
UNEDITABLE_USER_FIELDS.includes(field.name) || UNEDITABLE_USER_FIELDS.includes(field.name)) ||
(originalName && field.type === LINK_TYPE) (originalName && field.type === LINK_TYPE)
$: invalid = $: invalid =
(field.type === LINK_TYPE && !field.tableId) || (field.type === LINK_TYPE && !field.tableId) ||