Show existing depicts on item page.

This commit is contained in:
Edward Betts 2019-10-07 14:12:30 +01:00
parent 9867e90769
commit 62aff85ae6
3 changed files with 52 additions and 4 deletions

View file

@ -8,10 +8,11 @@ var app = new Vue({
searchTerms: '',
hits: [],
new_depicts: [],
existing_depicts: existing_depicts,
},
methods: {
remove(index) {
this.$delete(this.new_depicts, index);
this.$delete(this.new_depicts, index);
},
add_depicts(hit) {
this.new_depicts.push(hit);