diff --git a/src/components/Tasks/Tools/Sort.vue b/src/components/Tasks/Tools/Sort.vue index 3ee9446..fedc2d2 100644 --- a/src/components/Tasks/Tools/Sort.vue +++ b/src/components/Tasks/Tools/Sort.vue @@ -12,11 +12,12 @@ diff --git a/src/store/store-tasks.js b/src/store/store-tasks.js index 667ecea..24fb1c2 100644 --- a/src/store/store-tasks.js +++ b/src/store/store-tasks.js @@ -40,6 +40,9 @@ const mutations = { }, setSearch (state, value) { state.search = value + }, + setSort (state, value) { + state.sort = value } } @@ -60,6 +63,9 @@ const actions = { }, setSearch ({ commit }, value) { commit('setSearch', value) + }, + setSort ({ commit }, value) { + commit('setSort', value) } }