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: { ATTACHMENTS: {
name: "Attachment List", name: "Attachment List",
type: FieldType.ATTACHMENTS, type: FieldType.ATTACHMENTS,
icon: "Folder", icon: "AppleFiles",
constraints: { constraints: {
type: "array", type: "array",
presence: false, presence: false,
}, },
}, },
ATTACHMENT_SINGLE: {
name: "Attachment",
type: FieldType.ATTACHMENT_SINGLE,
icon: "Document",
constraints: {
presence: false,
},
},
LINK: { LINK: {
name: "Relationship", name: "Relationship",
type: FieldType.LINK, type: FieldType.LINK,

View File

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