1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00

displays correct relationship type in the create/edit component

This commit is contained in:
Keviin Åberg Kultalahti 2021-02-19 12:44:16 +01:00
parent 61552975c2
commit aa38952131

View file

@ -40,7 +40,7 @@
]
let types = ['Many to many (N:N)', 'One to many (1:N)']
let selectedRelationshipType = field.relationshipType
let selectedRelationshipType = relationshipTypes.find(type => type.value === field.relationshipType)?.text || 'Many to many (N:N)'
let indexes = [...($backendUiStore.selectedTable.indexes || [])]
let confirmDeleteDialog