Skip to content

Commit

Permalink
fix: fields of ref. table not automatically loaded in foreign keys modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Mar 22, 2021
1 parent 13b9840 commit e7401cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer/components/WorkspacePropsForeignModal.vue
Expand Up @@ -268,8 +268,10 @@ export default {
this.$emit('foreigns-update', this.foreignProxy);
},
selectForeign (event, id) {
if (this.selectedForeignID !== id && !event.target.classList.contains('remove-field'))
if (this.selectedForeignID !== id && !event.target.classList.contains('remove-field')) {
this.selectedForeignID = id;
this.getRefFields();
}
},
getModalInnerHeight () {
const modalBody = document.querySelector('.modal-body');
Expand Down

0 comments on commit e7401cc

Please sign in to comment.