From 2062d0fd46019a8a794dd58c88b8c28accbb040d Mon Sep 17 00:00:00 2001 From: octavioamu Date: Tue, 28 May 2019 12:53:00 -0300 Subject: [PATCH] fix lint --- app/assets/v2/js/pages/new_bounty.js | 5 ++--- app/assets/v2/js/users.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/assets/v2/js/pages/new_bounty.js b/app/assets/v2/js/pages/new_bounty.js index d0da374ce24..8ab4eea4580 100644 --- a/app/assets/v2/js/pages/new_bounty.js +++ b/app/assets/v2/js/pages/new_bounty.js @@ -43,8 +43,8 @@ $('.select2-tag__choice').on('click', function() { }); const getSuggestions = () => { - console.log(params) let queryParams = {}; + queryParams.keywords = $('#keywords').val(); queryParams.invite = params.get('invite') || ''; @@ -81,7 +81,7 @@ const getSuggestions = () => { children.text = children.fulfiller_github_username || children.user__profile__handle || children.handle; children.id = generalIndex; if (obj.text == 'Invites') { - children.selected= true; + children.selected = true; $('#reserve-section').collapse('show'); } generalIndex++; @@ -858,7 +858,6 @@ const populateBountyTotal = () => { let isPrivateRepo = false; -console.log(params) const toggleCtaPlan = (value) => { if (value === 'private') { diff --git a/app/assets/v2/js/users.js b/app/assets/v2/js/users.js index 0cae3867a2f..658c72c9ad9 100644 --- a/app/assets/v2/js/users.js +++ b/app/assets/v2/js/users.js @@ -87,7 +87,7 @@ Vue.mixin({ let getBounties = fetchData(apiUrlBounties, 'GET'); $.when(getBounties).then((response) => { - vm.isFunder = response.is_funder + vm.isFunder = response.is_funder; vm.funderBounties = response.data; });