1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12: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
$: uneditable =
$tables.selected?._id === TableNames.USERS &&
UNEDITABLE_USER_FIELDS.includes(field.name) ||
($tables.selected?._id === TableNames.USERS &&
UNEDITABLE_USER_FIELDS.includes(field.name)) ||
(originalName && field.type === LINK_TYPE)
$: invalid =
(field.type === LINK_TYPE && !field.tableId) ||