Skip to content

Commit

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

0 comments on commit 5c1b11b

Please sign in to comment.