diff --git a/src/renderer/components/WorkspacePropsForeignModal.vue b/src/renderer/components/WorkspacePropsForeignModal.vue index ea95d4ee..b9a28b66 100644 --- a/src/renderer/components/WorkspacePropsForeignModal.vue +++ b/src/renderer/components/WorkspacePropsForeignModal.vue @@ -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');