From 53158c05421bab2f43d44988a5a8a24bf40a07f5 Mon Sep 17 00:00:00 2001 From: Dan Ungureanu Date: Fri, 12 Mar 2021 17:09:05 +0200 Subject: [PATCH] FIX: Show link in invite panel (#12378) --- .../javascripts/discourse/app/components/invite-link-panel.js | 2 +- app/assets/javascripts/discourse/app/components/invite-panel.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/invite-link-panel.js b/app/assets/javascripts/discourse/app/components/invite-link-panel.js index 339cd521ea5..aedea4fedf9 100644 --- a/app/assets/javascripts/discourse/app/components/invite-link-panel.js +++ b/app/assets/javascripts/discourse/app/components/invite-link-panel.js @@ -90,7 +90,7 @@ export default Component.extend({ model.setProperties({ saving: false, finished: true, - inviteLink: result, + inviteLink: result.link, }); if (userInvitedController) { diff --git a/app/assets/javascripts/discourse/app/components/invite-panel.js b/app/assets/javascripts/discourse/app/components/invite-panel.js index 5e30756d4c7..89cb29bbf26 100644 --- a/app/assets/javascripts/discourse/app/components/invite-panel.js +++ b/app/assets/javascripts/discourse/app/components/invite-panel.js @@ -409,7 +409,7 @@ export default Component.extend({ model.setProperties({ saving: false, finished: true, - inviteLink: result, + inviteLink: result.link, }); if (userInvitedController) {