Avoid an unnecessary GraphQL query

Ensures that the initial sort parameter is consistent with what's
computed on user interactions. This ensures that we don't unnecessarily
re-trigger a GraphQL mutation when sorting by creation date, descending.
parent 7331a6d3
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
redirecting: false, redirecting: false,
incidents: {}, incidents: {},
incidentsCount: {}, incidentsCount: {},
sort: 'created_desc', sort: 'CREATED_DESC',
sortBy: 'createdAt', sortBy: 'createdAt',
sortDesc: true, sortDesc: true,
statusFilter: '', statusFilter: '',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment