Skip to content

Commit 8ec99d7

Browse files
authored
Merge pull request #6471 from nextcloud/Fix/6468/backport
fix(calendarPicker): undefined calendar
2 parents bd07fea + 1743d3a commit 8ec99d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Shared/CalendarPicker.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
:multiple="multiple"
1212
:clearable="clearable"
1313
:filter-by="selectFilterBy"
14-
:input-label="this.inputLabel"
15-
:label-outside="this.inputLabel === ''"
14+
:input-label="inputLabel"
15+
:label-outside="inputLabel === ''"
1616
@option:selected="change"
1717
@option:deselected="remove">
1818
<template #option="{ id }">
@@ -86,7 +86,7 @@ export default {
8686
},
8787
valueIds() {
8888
if (Array.isArray(this.value)) {
89-
return this.value.map(({ id }) => id)
89+
return this.value.filter(v => v).map(({ id }) => id)
9090
}
9191
9292
return this.value.id

0 commit comments

Comments
 (0)