Commit cbcf5829 authored by lauraMon's avatar lauraMon

Change sort order

parent 6840b554
...@@ -189,7 +189,7 @@ export default { ...@@ -189,7 +189,7 @@ export default {
errored: false, errored: false,
isAlertDismissed: false, isAlertDismissed: false,
isErrorAlertDismissed: false, isErrorAlertDismissed: false,
sort: 'STARTED_AT_ASC', sort: 'STARTED_AT_DESC',
statusFilter: [], statusFilter: [],
filteredByStatus: '', filteredByStatus: '',
pagination: initialPaginationState, pagination: initialPaginationState,
...@@ -229,6 +229,9 @@ export default { ...@@ -229,6 +229,9 @@ export default {
}, },
mounted() { mounted() {
this.trackPageViews(); this.trackPageViews();
if(this.alertManagementEnabled) {
findDefaultSortColumn().ariaSort = 'descending';
}
}, },
methods: { methods: {
filterAlertsByStatus(tabIndex) { filterAlertsByStatus(tabIndex) {
...@@ -345,7 +348,6 @@ export default { ...@@ -345,7 +348,6 @@ export default {
:tbody-tr-class="tbodyTrClass" :tbody-tr-class="tbodyTrClass"
:no-local-sorting="true" :no-local-sorting="true"
sort-icon-left sort-icon-left
sort-by="startedAt"
@row-clicked="navigateToAlertDetails" @row-clicked="navigateToAlertDetails"
@sort-changed="fetchSortedData" @sort-changed="fetchSortedData"
> >
......
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