Wire admin studio SSR and search infrastructure
This commit is contained in:
@@ -129,9 +129,12 @@ final class CreatorStudioCalendarService
|
||||
$days[] = [
|
||||
'date' => $key,
|
||||
'day' => $date->day,
|
||||
'label' => $date->format('D, M j'),
|
||||
'is_current_month' => $date->month === $focusDate->month,
|
||||
'count' => $items->count(),
|
||||
'items' => $items->take(3)->all(),
|
||||
'overflow_count' => max(0, $items->count() - 4),
|
||||
'detail_items' => $items->all(),
|
||||
'items' => $items->take(4)->all(),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user