diff --git a/app/assets/v2/js/pages/change_bounty.js b/app/assets/v2/js/pages/change_bounty.js index b7a85a12d8d..0f3141f33e0 100644 --- a/app/assets/v2/js/pages/change_bounty.js +++ b/app/assets/v2/js/pages/change_bounty.js @@ -1235,10 +1235,10 @@ if (document.getElementById('gc-hackathon-new-bounty')) { project_length: bounty.project_length, experience_level: bounty.experience_level, never_expires: bounty.never_expires, - reserved_for_user: { + reserved_for_user: bounty.bounty_reserved_for_user ? { text: bounty.bounty_reserved_for_user.handle, avatar_url: bounty.bounty_reserved_for_user.avatar_url - }, + } : { text: '', avatar_url: ''}, richDescriptionContent: bounty.custom_issue_description ? JSON.parse(bounty.custom_issue_description) : null, richDescriptionText: bounty.custom_issue_description ? bounty.custom_issue_description : '' }, diff --git a/app/dashboard/templates/bounty/details2.html b/app/dashboard/templates/bounty/details2.html index 3434e7c21e6..b17a16cf3d5 100644 --- a/app/dashboard/templates/bounty/details2.html +++ b/app/dashboard/templates/bounty/details2.html @@ -202,14 +202,14 @@