File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,9 +38,9 @@ function normalizeDailyEventsPayloadTitle(dailyEventsPortion, projectId) {
3838 dailyEventsPortion . dailyEvents = dailyEventsPortion . dailyEvents . map ( ( dailyEvent ) => {
3939 const event = dailyEvent && dailyEvent . event ? dailyEvent . event : null ;
4040 const payload = event && event . payload ? event . payload : null ;
41- const hasValidTitle = payload
42- && typeof payload . title === 'string'
43- && payload . title . trim ( ) . length > 0 ;
41+ const hasValidTitle = payload &&
42+ typeof payload . title === 'string' &&
43+ payload . title . trim ( ) . length > 0 ;
4444
4545 if ( hasValidTitle ) {
4646 return dailyEvent ;
@@ -69,7 +69,6 @@ function normalizeDailyEventsPayloadTitle(dailyEventsPortion, projectId) {
6969 return dailyEventsPortion ;
7070}
7171
72-
7372/**
7473 * See all types and fields here {@see ../typeDefs/project.graphql}
7574 */
You can’t perform that action at this time.
0 commit comments