Skip to content

Commit

Permalink
feat: add organizer selection
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <[email protected]>
  • Loading branch information
SebastianKrupinski committed Aug 13, 2024
1 parent 41bcaff commit 8e83a72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Editor/Invitees/InviteesList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ export default {
return organizerDisplayName(this.calendarObjectInstance.organizer)
},
organizerSelection() {
let organizers = []
let owner = this.principalsStore.getPrincipalByUrl(this.calendarInstance.owner)
let principal = this.principalsStore.getCurrentUserPrincipal
const organizers = []

Check warning on line 237 in src/components/Editor/Invitees/InviteesList.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Invitees/InviteesList.vue#L237

Added line #L237 was not covered by tests
const owner = this.principalsStore.getPrincipalByUrl(this.calendarInstance.owner)
const principal = this.principalsStore.getCurrentUserPrincipal
if (owner) {
organizers.push({
id: owner.id,

Check warning on line 242 in src/components/Editor/Invitees/InviteesList.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Invitees/InviteesList.vue#L242

Added line #L242 was not covered by tests
Expand Down

0 comments on commit 8e83a72

Please sign in to comment.