GH-3110 Update relation icon on data model settings (#3114)
GH-3110 update relation icon on data model settings with IconLayersLinked
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
import { IconRelationOneToMany, IconRelationOneToOne } from '@/ui/display/icon';
|
import { IconLayersLinked, IconRelationOneToOne } from '@/ui/display/icon';
|
||||||
import { IconComponent } from '@/ui/display/icon/types/IconComponent';
|
import { IconComponent } from '@/ui/display/icon/types/IconComponent';
|
||||||
import { RelationMetadataType } from '~/generated-metadata/graphql';
|
import { RelationMetadataType } from '~/generated-metadata/graphql';
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ export const relationTypes: Record<
|
|||||||
> = {
|
> = {
|
||||||
[RelationMetadataType.OneToMany]: {
|
[RelationMetadataType.OneToMany]: {
|
||||||
label: 'Has many',
|
label: 'Has many',
|
||||||
Icon: IconRelationOneToMany,
|
Icon: IconLayersLinked,
|
||||||
imageSrc: OneToManySvg,
|
imageSrc: OneToManySvg,
|
||||||
},
|
},
|
||||||
[RelationMetadataType.OneToOne]: {
|
[RelationMetadataType.OneToOne]: {
|
||||||
@ -27,7 +27,7 @@ export const relationTypes: Record<
|
|||||||
},
|
},
|
||||||
MANY_TO_ONE: {
|
MANY_TO_ONE: {
|
||||||
label: 'Belongs to one',
|
label: 'Belongs to one',
|
||||||
Icon: IconRelationOneToMany,
|
Icon: IconLayersLinked,
|
||||||
imageSrc: OneToManySvg,
|
imageSrc: OneToManySvg,
|
||||||
isImageFlipped: true,
|
isImageFlipped: true,
|
||||||
},
|
},
|
||||||
|
|||||||
@ -64,6 +64,7 @@ export {
|
|||||||
IconInfoCircle,
|
IconInfoCircle,
|
||||||
IconKey,
|
IconKey,
|
||||||
IconLanguage,
|
IconLanguage,
|
||||||
|
IconLayersLinked,
|
||||||
IconLayoutKanban,
|
IconLayoutKanban,
|
||||||
IconLayoutSidebarLeftCollapse,
|
IconLayoutSidebarLeftCollapse,
|
||||||
IconLayoutSidebarRightCollapse,
|
IconLayoutSidebarRightCollapse,
|
||||||
|
|||||||
Reference in New Issue
Block a user