Skip to content

Commit

Permalink
Refresh entity detail and schema detail on update (#187)
Browse files Browse the repository at this point in the history
* Fix reference value vanishing on entity update
* Fix refresh entity list on update

closes #178
  • Loading branch information
TeodoraPavlova authored Jan 19, 2024
1 parent f84bfff commit 093eab2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/EntityList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ export default {
default: false
}
},
activated() {
this.getEntities({resetPage: false});
},
computed: {
pages: computed(() => {
try {
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/components/inputs/ReferencedEntitySelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ export default {
watch: {
modelValue() {
this.getSelected();
},
selected: {
handler: "getSelected",
immediate: true
}
}
};
Expand Down

0 comments on commit 093eab2

Please sign in to comment.