Skip to content

Commit f691e06

Browse files
authored
fix(laravel-insights): Custom periods being invalid (#89260)
Merge custom time periods into the available relative options.
1 parent 4be5ac0 commit f691e06

File tree

1 file changed

+4
-1
lines changed
  • static/app/views/insights/pages/backend/laravel

1 file changed

+4
-1
lines changed

static/app/views/insights/pages/backend/laravel/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ export function LaravelOverviewPage() {
116116
<DatePageFilter
117117
maxPickableDays={maxPickableDays}
118118
defaultPeriod={defaultPeriod}
119-
relativeOptions={relativeOptions}
119+
relativeOptions={({arbitraryOptions}) => ({
120+
...arbitraryOptions,
121+
...relativeOptions,
122+
})}
120123
/>
121124
</PageFilterBar>
122125
{!showOnboarding && (

0 commit comments

Comments
 (0)