Skip to content

Commit

Permalink
Cleaned exportOpts array definition
Browse files Browse the repository at this point in the history
  • Loading branch information
clpetersonucf committed Aug 23, 2019
1 parent 9bb0138 commit b92746a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js/controllers/ctrl-export-scores.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ app.controller('ExportScoresController', function(Please, $scope, selectedWidget
$scope.selectedId = wgt.id

if ($scope.selected.scores.list.length === 0 || !$scope.selected.hasScores) {
$scope.exportOpts = ['Questions and Answers']
$scope.exportOpts.push('Referrer URLs')
$scope.exportOpts = ['Questions and Answers', 'Referrer URLs']
} else {
let scores_only
if (wgt.guest_access) {
Expand Down

0 comments on commit b92746a

Please sign in to comment.