Skip to content

Commit

Permalink
calendar-ui: Provide circleId for event
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Heinrich committed Aug 15, 2023
1 parent ffed8d9 commit bd61447
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
11 changes: 4 additions & 7 deletions src/components/Editor/Invitees/InviteesListSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -263,16 +263,13 @@ export default {
return true
}).map((circle) => {
return {

Check warning on line 265 in src/components/Editor/Invitees/InviteesListSearch.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Invitees/InviteesListSearch.vue#L264-L265

Added lines #L264 - L265 were not covered by tests
// FIXME
commonName: circle.displayname,
calendarUserType: 'GROUP',
email: "user1@localhost",
language: "en",
email: '',
isUser: false,

Check warning on line 269 in src/components/Editor/Invitees/InviteesListSearch.vue

View check run for this annotation

Codecov / codecov/patch

src/components/Editor/Invitees/InviteesListSearch.vue#L267-L269

Added lines #L267 - L269 were not covered by tests
avatar: '1',
hasMultipleEMails: false,
dropdownName: circle.displayname || 'user1@localhost',
type: 'circle',
dropdownName: circle.displayname,
type: 'circle',
id: circle.id,
subtitle: this.$n('calendar', 'Contains %n contact', 'Contains %n contacts', circle.population),

Check failure on line 273 in src/components/Editor/Invitees/InviteesListSearch.vue

View workflow job for this annotation

GitHub Actions / eslint

Extra space before value for key 'subtitle'
}
})
Expand Down
3 changes: 2 additions & 1 deletion src/services/circleService.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ const circleSearchByName = async (query) => {
return true
}).map(circle => ({

Check warning on line 64 in src/services/circleService.js

View check run for this annotation

Codecov / codecov/patch

src/services/circleService.js#L62-L64

Added lines #L62 - L64 were not covered by tests
displayname: circle.label,

Check failure on line 65 in src/services/circleService.js

View workflow job for this annotation

GitHub Actions / eslint

Mixed spaces and tabs
population: circle.value.circle.population,
population: circle.value.circle.population,
id: circle.value.circle.id,
}))
}

Expand Down

0 comments on commit bd61447

Please sign in to comment.