Show existing depicts on item page.
This commit is contained in:
parent
9867e90769
commit
62aff85ae6
3 changed files with 52 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue