diff --git a/app/assets/v2/js/pages/bounty_details2.js b/app/assets/v2/js/pages/bounty_details2.js index f59dca306a5..af4771d8299 100644 --- a/app/assets/v2/js/pages/bounty_details2.js +++ b/app/assets/v2/js/pages/bounty_details2.js @@ -780,6 +780,18 @@ Vue.mixin({ vm.fulfillment_context.active_step = 'payout_amount'; break; } + }, + showWorkSubmitted: function(handle) { + let vm = this; + + if ( + vm.contxt.is_staff || + vm.isOwner || + (handle && handle == vm.contxt.github_handle) + ) { + return true; + } + return false; } }, computed: { diff --git a/app/dashboard/templates/bounty/details2.html b/app/dashboard/templates/bounty/details2.html index 1f9b03500ad..267c9030e26 100644 --- a/app/dashboard/templates/bounty/details2.html +++ b/app/dashboard/templates/bounty/details2.html @@ -365,11 +365,13 @@
Hours worked: