fixes ordering
This commit is contained in:
parent
8e11d984a2
commit
2819961762
12
src/store.js
12
src/store.js
|
@ -42,14 +42,14 @@ const store = new Vuex.Store({
|
||||||
state.page_count = 1
|
state.page_count = 1
|
||||||
},
|
},
|
||||||
setColumnOrder(state, payload) {
|
setColumnOrder(state, payload) {
|
||||||
state.active_column = payload.active_column
|
state.active_column = payload.column_name
|
||||||
state.column_order = payload.column_order
|
state.column_order = payload.order
|
||||||
state.sites = order_items(state.sites,
|
state.sites = order_items(state.sites,
|
||||||
payload.active_column,
|
state.active_column,
|
||||||
payload.column_order)
|
state.column_order)
|
||||||
state.filtered_sites = order_items(state.filtered_sites,
|
state.filtered_sites = order_items(state.filtered_sites,
|
||||||
payload.active_column,
|
state.active_column,
|
||||||
payload.column_order)
|
state.column_order)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
|
|
Loading…
Reference in New Issue