+ :name-list="otuList"
+ column-name="Otu"
+ column-match="Taxon name"
+ :possible-matches-list="taxonList"
+ @matched="setMatches"/>
@@ -20,7 +23,13 @@ export default {
data () {
return {
otuList: OtuList,
- taxonList: taxonNames
+ taxonList: taxonNames,
+ matchedList: []
+ }
+ },
+ methods: {
+ setMatches (list) {
+ this.matchedList = list
}
}
}
diff --git a/src/components/List.vue b/src/components/List.vue
index f4b76c9..1f09e80 100644
--- a/src/components/List.vue
+++ b/src/components/List.vue
@@ -1,16 +1,16 @@