Skip to content

Commit

Permalink
Merge pull request #6471 from nextcloud/Fix/6468/backport
Browse files Browse the repository at this point in the history
fix(calendarPicker): undefined calendar
  • Loading branch information
st3iny authored Nov 7, 2024
2 parents bd07fea + 1743d3a commit 8ec99d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Shared/CalendarPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
:multiple="multiple"
:clearable="clearable"
:filter-by="selectFilterBy"
:input-label="this.inputLabel"
:label-outside="this.inputLabel === ''"
:input-label="inputLabel"
:label-outside="inputLabel === ''"
@option:selected="change"
@option:deselected="remove">
<template #option="{ id }">
Expand Down Expand Up @@ -86,7 +86,7 @@ export default {
},
valueIds() {
if (Array.isArray(this.value)) {
return this.value.map(({ id }) => id)
return this.value.filter(v => v).map(({ id }) => id)
}
return this.value.id
Expand Down

0 comments on commit 8ec99d7

Please sign in to comment.