From 03ce63c8a0e51631b25292ae4cc71c22235586f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Octavio=20Amuch=C3=A1stegui?= Date: Mon, 8 Apr 2019 17:43:26 -0300 Subject: [PATCH] hide featured in private --- app/assets/v2/js/pages/new_bounty.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/v2/js/pages/new_bounty.js b/app/assets/v2/js/pages/new_bounty.js index fcbfea672ed..9477d3d9143 100644 --- a/app/assets/v2/js/pages/new_bounty.js +++ b/app/assets/v2/js/pages/new_bounty.js @@ -694,6 +694,7 @@ const setPrivateForm = () => { $('#issue-details, #issue-details-edit').show(); $('#sync-issue').removeClass('disabled'); $('#last-synced, #edit-issue, #sync-issue, #title--text').hide(); + $('#featured-bounty-add').hide(); $('#admin_override_suspend_auto_approval').prop('checked', false); $('#admin_override_suspend_auto_approval').attr('disabled', true); @@ -720,6 +721,7 @@ const setPublicForm = () => { $('#sync-issue').addClass('disabled'); $('.js-submit').addClass('disabled'); $('#last-synced, #edit-issue , #sync-issue, #title--text').show(); + $('#featured-bounty-add').show(); $('#admin_override_suspend_auto_approval').prop('checked', true); $('#admin_override_suspend_auto_approval').attr('disabled', false);