Skip to content

Commit

Permalink
remove extraneous debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
frankchn committed Aug 7, 2020
1 parent f65693a commit f73df5e
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,24 +247,20 @@ function ViewResponsesController(
vm.loadResponses = function () {
vm.currentView = 2
vm.loading = true
console.log("calling load responses.")
vm.tableParams = new NgTableParams(
{
page: 1, // show first page
count: 10, // count per page
},
{
getData: (params) => {
console.log("load responses is calling getData")
let { page } = params.url()
return Submissions.getMetadata({
formId: vm.myform._id,
filterBySubmissionRefId: vm.filterBySubmissionRefId,
page,
})
.then((data) => {
console.log("get data has data returned")
console.log(data)
params.total(data.count)
vm.responsesCount = data.count
return data.metadata
Expand All @@ -276,7 +272,6 @@ function ViewResponsesController(
counts: [], // Remove page size options
},
)
console.log("finished calling load responses")
vm.loading = false
}

Expand Down

0 comments on commit f73df5e

Please sign in to comment.