Fix setting remote emoji packs

This commit is contained in:
Angelina Filippova 2020-08-26 00:17:37 +03:00
parent 27be3dd0fc
commit ea26e75e77

View file

@ -189,7 +189,7 @@ const emojiPacks = {
const { data } = await listRemotePacks(getters.authHost, getters.token, remoteInstance)
commit('SET_REMOTE_INSTANCE', remoteInstance)
commit('SET_REMOTE_PACKS', data)
commit('SET_REMOTE_PACKS', data.packs)
},
SetRemoteInstance({ commit }, instance) {
commit('SET_REMOTE_INSTANCE', instance)