mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-21 14:10:42 +01:00
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);
|
this.$emit('foreigns-update', this.foreignProxy);
|
||||||
},
|
},
|
||||||
selectForeign (event, id) {
|
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.selectedForeignID = id;
|
||||||
|
this.getRefFields();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
getModalInnerHeight () {
|
getModalInnerHeight () {
|
||||||
const modalBody = document.querySelector('.modal-body');
|
const modalBody = document.querySelector('.modal-body');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user