Skip to content

Commit

Permalink
Add quiet to createLandingPage latests incidents
Browse files Browse the repository at this point in the history
  • Loading branch information
clari182 committed Apr 1, 2024
1 parent f306070 commit 7533d21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion site/gatsby-site/page-creators/createLandingPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ const createLandingPage = async (graphql, createPage) => {
const result = await graphql(`
query LandingPage {
latestIncidents: allMongodbAiidprodIncidents(
filter: { reports: { elemMatch: { is_incident_report: { eq: true } } } }
filter: {
reports: { elemMatch: { is_incident_report: { eq: true }, quiet: { in: [null, false] } } }
}
sort: { reports: { epoch_date_submitted: DESC } }
limit: 5
) {
Expand Down

0 comments on commit 7533d21

Please sign in to comment.