Skip to content

Commit

Permalink
fix: show display name instead of user id in availability integration
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny authored and backportbot[bot] committed Jan 28, 2025
1 parent 237083f commit bf683e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/views/ContactsMenuAvailability.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ export default {
},
},
data() {
const initialAttendee = AttendeeProperty.fromNameAndEMail(this.userId, this.userEmail)
const initialAttendee = AttendeeProperty.fromNameAndEMail(

Check warning on line 53 in src/views/ContactsMenuAvailability.vue

View check run for this annotation

Codecov / codecov/patch

src/views/ContactsMenuAvailability.vue#L53

Added line #L53 was not covered by tests
this.userDisplayName,
this.userEmail,

Check warning on line 55 in src/views/ContactsMenuAvailability.vue

View check run for this annotation

Codecov / codecov/patch

src/views/ContactsMenuAvailability.vue#L55

Added line #L55 was not covered by tests
)
const attendees = [mapAttendeePropertyToAttendeeObject(initialAttendee)]

return {
Expand Down

0 comments on commit bf683e0

Please sign in to comment.