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
1 changed files with 1 additions and 1 deletions

View File

@ -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