Add comment

This commit is contained in:
Marcus Moore 2024-04-11 17:23:28 -07:00
parent c3a71cc182
commit a4e959818a
No known key found for this signature in database

View file

@ -142,6 +142,8 @@ class Label implements View
// Remove Duplicates
$toAdd = $field
->filter(fn($o) => !$myFields->contains('dataSource', $o['dataSource']))
// For fields that have multiple options, we need to combine them
// into a single field so all values are displayed.
->reduce(function ($previous, $current) {
// On the first iteration we simply return the item.
// If there is only one item to be processed for the row