diff --git a/src/components/Editor/Invitees/InviteesList.vue b/src/components/Editor/Invitees/InviteesList.vue index c03c150387..b6e18b8e41 100644 --- a/src/components/Editor/Invitees/InviteesList.vue +++ b/src/components/Editor/Invitees/InviteesList.vue @@ -198,6 +198,7 @@ export default { this.showFreeBusyModel = false }, async createTalkRoom() { + const NEW_LINE = '\r\n' try { this.creatingTalkRoom = true const url = await createTalkRoom( @@ -205,6 +206,18 @@ export default { this.calendarObjectInstance.description, ) + let newDescription + if (!this.calendarObjectInstance.description) { + newDescription = url + NEW_LINE + } else { + newDescription = this.calendarObjectInstance.description + NEW_LINE + NEW_LINE + url + NEW_LINE + } + + this.$store.commit('changeDescription', { + calendarObjectInstance: this.calendarObjectInstance, + description: newDescription, + }) + this.$store.commit('changeConference', { calendarObjectInstance: this.calendarObjectInstance, conference: url,