Skip to content

Commit

Permalink
Fix update and version check
Browse files Browse the repository at this point in the history
  • Loading branch information
RickyGrassmuck committed Sep 27, 2017
1 parent 65fda8b commit 2bd3098
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/templates/admin/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,18 +163,24 @@ Template.admin.onCreated(function(){
Meteor.call('getBranch', function (error, result) {
if (result) {
instance.branch.set(result)
} else {
logger.debug(error)
}
})

Meteor.call('getVersion', function (error, result) {
if (result) {
instance.version.set(result)
} else {
logger.debug(error)
}
})

Meteor.call('checkForUpdate', function (error, result) {
if (result) {
instance.update.set(result)
} else {
logger.debug(error)
}
})

Expand Down

0 comments on commit 2bd3098

Please sign in to comment.