Skip to content

Commit

Permalink
Revert "seemingly fixes #94"
Browse files Browse the repository at this point in the history
This reverts commit dff6410.
  • Loading branch information
oganm committed May 16, 2024
1 parent dff6410 commit f8550b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/TechnologyTypeSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ export default {
}
},
watch: {
value(newVal) {
this.selectedValues = newVal.map(t => t.id);
},
selectedValues(newVal, oldVal) {
let ids = new Set(newVal.filter(id => !TECHNOLOGY_TYPES.includes(id)));
let selectedTechnologyTypes = this.computeSelectedTechnologyTypes(ids);
Expand Down

0 comments on commit f8550b1

Please sign in to comment.