Skip to content

Commit

Permalink
Fix template in Z39.50 presenter
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermendes committed Apr 8, 2018
1 parent 729e2a7 commit 1a76483
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/presenters/Z3950.vue
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,9 @@ export default {
type: Array,
required: true
},
projectTemplate: {
template: {
type: Object,
required: false
required: true
}
},
Expand Down Expand Up @@ -346,13 +346,13 @@ export default {
},
database () {
if (this.template && this.template.task) {
if (this.template.task) {
return this.template.task.database
}
},
institutions () {
if (this.template && this.template.task) {
if (this.template.task) {
return this.template.task.institutions
}
}
Expand Down

0 comments on commit 1a76483

Please sign in to comment.