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",