Track statuses from media searches too
feat. the file I forgot to stage before committing 4306c9f
This commit is contained in:
parent
22476d5368
commit
139d43eda5
1 changed files with 3 additions and 0 deletions
|
@ -771,6 +771,9 @@ const statuses = {
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
store.commit('addNewUsers', data.accounts)
|
store.commit('addNewUsers', data.accounts)
|
||||||
store.commit('addNewStatuses', { statuses: data.statuses })
|
store.commit('addNewStatuses', { statuses: data.statuses })
|
||||||
|
if ('media' in data) {
|
||||||
|
store.commit('addNewStatuses', { statuses: data.media })
|
||||||
|
}
|
||||||
return data
|
return data
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue