1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

Change icons

This commit is contained in:
Adria Navarro 2024-04-03 11:07:57 +02:00
parent aabee4d90e
commit 32d11498d2
2 changed files with 10 additions and 2 deletions

View file

@ -110,12 +110,20 @@ export const FIELDS = {
ATTACHMENTS: {
name: "Attachment List",
type: FieldType.ATTACHMENTS,
icon: "Folder",
icon: "AppleFiles",
constraints: {
type: "array",
presence: false,
},
},
ATTACHMENT_SINGLE: {
name: "Attachment",
type: FieldType.ATTACHMENT_SINGLE,
icon: "Document",
constraints: {
presence: false,
},
},
LINK: {
name: "Relationship",
type: FieldType.LINK,

View file

@ -16,8 +16,8 @@ const TypeIconMap = {
[FieldType.ARRAY]: "Dropdown",
[FieldType.NUMBER]: "123",
[FieldType.BOOLEAN]: "Boolean",
[FieldType.ATTACHMENT]: "AppleFiles",
[FieldType.ATTACHMENTS]: "AppleFiles",
[FieldType.ATTACHMENT_SINGLE]: "Document",
[FieldType.LINK]: "DataCorrelated",
[FieldType.FORMULA]: "Calculator",
[FieldType.JSON]: "Brackets",