diff --git a/app/Data/ItemsCollection.php b/app/Data/ItemsCollection.php index c3f70e9..e870dc0 100644 --- a/app/Data/ItemsCollection.php +++ b/app/Data/ItemsCollection.php @@ -64,6 +64,7 @@ class ItemsCollection $item = $this->items[$id] ?? throw new ItemNotFoundException('Item not found'); return [ 'item' => $item, + 'locale' => $this->locale[$id] ?? '' ]; } }