File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
static/app/views/settings/organizationAuditLog Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import type {DateString} from 'sentry/types/core';
23
23
import type { AuditLog , Organization } from 'sentry/types/organization' ;
24
24
import type { User } from 'sentry/types/user' ;
25
25
import { getInternalDate } from 'sentry/utils/dates' ;
26
+ import getDaysSinceDate from 'sentry/utils/getDaysSinceDate' ;
26
27
import useOrganization from 'sentry/utils/useOrganization' ;
27
28
import useProjects from 'sentry/utils/useProjects' ;
28
29
import { useUser } from 'sentry/utils/useUser' ;
@@ -307,7 +308,7 @@ function AuditLogList({
307
308
allTime,
308
309
} }
309
310
utc = { utc }
310
- maxPickableDays = { Infinity }
311
+ maxPickableDays = { getDaysSinceDate ( organization . dateCreated ) }
311
312
trigger = { ( triggerProps , isOpen ) => {
312
313
const currentValue = statsPeriod || allTime ;
313
314
let displayLabel : React . ReactNode ;
You can’t perform that action at this time.
0 commit comments