Skip to content

Commit

Permalink
añadido autorelation en updateModel
Browse files Browse the repository at this point in the history
  • Loading branch information
asafJortilles committed Jun 3, 2024
1 parent 1c6160c commit dbaaede
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eda/eda_api/lib/module/updateModel/updateModel.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,8 @@ export class updateModel {
"display_name": {
"default": relations[i].direccion === 0 ? relations[i].label.split('|')[0] : relations[i].label.split('|')[1] ,
"localized": []
},
},
"autorelation" : relations[i].source_table === relations[i].target_table ? true : false
}
destRelations.push(rr);

Expand Down

0 comments on commit dbaaede

Please sign in to comment.