resets page_count on site search

This commit is contained in:
buttle 2021-11-10 14:58:19 +01:00
parent e1aad4ecd1
commit d953ecf297
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ const store = new Vuex.Store({
} }
} }
state.filtered_sites = sites state.filtered_sites = sites
state.page_count = 1
}, },
setColumnOrder(state, payload) { setColumnOrder(state, payload) {
state.sites = _.sortBy(state.sites, payload.column_name) state.sites = _.sortBy(state.sites, payload.column_name)