Show people with the birth/death on item page
This commit is contained in:
parent
96a03a0abe
commit
077cdcfeb2
6 changed files with 112 additions and 12 deletions
|
|
@ -8,12 +8,18 @@ var app = new Vue({
|
|||
searchTerms: '',
|
||||
hits: [],
|
||||
new_depicts: [],
|
||||
people: people,
|
||||
existing_depicts: existing_depicts,
|
||||
},
|
||||
methods: {
|
||||
remove(index) {
|
||||
this.$delete(this.new_depicts, index);
|
||||
},
|
||||
add_person(person) {
|
||||
var hit = person;
|
||||
hit['count'] = 0;
|
||||
this.new_depicts.push(hit);
|
||||
},
|
||||
add_depicts(hit) {
|
||||
this.new_depicts.push(hit);
|
||||
this.hits = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue