Merge branch 'filterable-peers' into 'develop'
Make instance list searchable See merge request pleroma/admin-fe!78
This commit is contained in:
commit
1448ef4a2d
2 changed files with 4 additions and 2 deletions
|
@ -17,6 +17,8 @@ const getters = {
|
|||
errorLogs: state => state.errorLog.logs,
|
||||
users: state => state.users.fetchedUsers,
|
||||
authHost: state => state.user.authHost,
|
||||
settings: state => state.settings
|
||||
settings: state => state.settings,
|
||||
instances: state => state.peers.fetchedPeers,
|
||||
statuses: state => state.status.fetchedStatuses
|
||||
}
|
||||
export default getters
|
||||
|
|
|
@ -19,7 +19,7 @@ const peers = {
|
|||
async FetchPeers({ commit, getters }) {
|
||||
const peers = await fetchPeers(getters.authHost, getters.token)
|
||||
|
||||
commit('SET_PEERS', peers.data)
|
||||
commit('SET_PEERS', [...peers.data].sort())
|
||||
commit('SET_LOADING', false)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue