Change icons
This commit is contained in:
parent
aabee4d90e
commit
32d11498d2
|
@ -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,
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue