mirror of https://github.com/Fabio286/antares.git
fix: fields of ref. table not automatically loaded in foreign keys modal
This commit is contained in:
parent
13b9840f3d
commit
e7401cc96e
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue