Skip to content

Commit

Permalink
fix(multiSelection): catch error if multiselection has no values
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
  • Loading branch information
Florian Steffens committed Apr 14, 2023
1 parent b3f5492 commit 84751db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default {
// values is an array of option-ids as string

const objects = []
values.forEach(id => {
values?.forEach(id => {
objects.push(this.getOptionObjectForSelectionMulti(parseInt(id), column))
})
return objects
Expand Down

0 comments on commit 84751db

Please sign in to comment.