Skip to content

Commit

Permalink
add parentheses around turnary statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Oct 30, 2019
1 parent 77a9e6a commit 5f9aa15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/maps/public/actions/map_actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ export function setQuery({ query, timeFilters, filters = [], refresh = false })
}
return async (dispatch, getState) => {
const prevQuery = getQuery(getState());
const prevTriggeredAt = prevQuery && prevQuery.queryLastTriggeredAt
const prevTriggeredAt = (prevQuery && prevQuery.queryLastTriggeredAt)
? prevQuery.queryLastTriggeredAt
: generateQueryTimestamp();

Expand Down

0 comments on commit 5f9aa15

Please sign in to comment.