Skip to content

Commit

Permalink
Fixed relation.type in mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivanruii committed Apr 9, 2024
1 parent 3e77181 commit a80d231
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const fromTableToTableRelationMapper = (
): RelationVm => {
return {
id: relation.id,
type: relation.type === '1:M' ? 'M:1' : '1:M',
type: relation.type === '1:M' ? 'M:1' : relation.type,
fromTableId: relation.toTableId,
fromFieldId: relation.toFieldId,
toTableId: relation.fromTableId,
Expand Down

0 comments on commit a80d231

Please sign in to comment.