Add nil check to prevent 500 error on policies page (#34905)

This commit is contained in:
Scott Gress 2025-10-28 18:30:36 -05:00 committed by GitHub
parent b2ec6d8c20
commit 1962ea7622
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,7 +107,7 @@ const PoliciesTable = ({
data={generateDataSet(
policiesList,
currentAutomatedPolicies,
config?.update_interval.osquery_policy
config?.update_interval?.osquery_policy
)}
isLoading={isLoading}
defaultSortHeader={sortHeader || DEFAULT_SORT_COLUMN}