Skip to content

Commit

Permalink
fixup! feat:select existing talk roomfor convesations
Browse files Browse the repository at this point in the history
Signed-off-by: greta <[email protected]>
  • Loading branch information
GretaD committed Jan 8, 2025
1 parent d9749df commit aedacf6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/Editor/AddTalkModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,8 @@ export default {
},

Check warning on line 124 in src/components/Editor/AddTalkModal.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/AddTalkModal.vue#L123-L124

Added lines #L123 - L124 were not covered by tests
async selectConversation(conversation) {
console.debug('Selected conversation:', conversation)
try {
const url = generateURLForToken(conversation.token)
console.debug('Conversation URL:', url)
if (!url) {
showError(this.$t('calendar', 'Conversation does not have a valid URL.'))
Expand All @@ -139,7 +137,6 @@ export default {
calendarObjectInstance: this.calendarObjectInstance,
location: url,
})
console.debug('Applied URL to location:', url)
showSuccess(this.$t('calendar', 'Successfully added Talk room link to location.'))
} else {
const NEW_LINE = '\r\n'
Expand All @@ -151,7 +148,6 @@ export default {
calendarObjectInstance: this.calendarObjectInstance,
description: updatedDescription,
})
console.debug('Applied URL to description:', url)
showSuccess(this.$t('calendar', 'Successfully added Talk room link to description.'))
}
Expand Down

0 comments on commit aedacf6

Please sign in to comment.