1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

Formatting.

This commit is contained in:
mike12345567 2021-04-16 17:25:53 +01:00
parent bd6741fc1c
commit 7d3eb2f234

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) ||