displays correct relationship type in the create/edit component
This commit is contained in:
parent
61552975c2
commit
aa38952131
|
@ -40,7 +40,7 @@
|
||||||
]
|
]
|
||||||
let types = ['Many to many (N:N)', 'One to many (1:N)']
|
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 indexes = [...($backendUiStore.selectedTable.indexes || [])]
|
||||||
let confirmDeleteDialog
|
let confirmDeleteDialog
|
||||||
|
|
Loading…
Reference in New Issue