Skip to content
Snippets Groups Projects
Commit 0117f6af authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

Merge branch 'issues/#465' into 'develop'

update store according to retweeted status

Closes #465

See merge request pleroma/pleroma-fe!713
parents e329a362 8e4ddcb8
No related branches found
No related tags found
2 merge requests!1028`master` refresh with `develop`,!713update store according to retweeted status
Pipeline #9662 passed
......@@ -363,6 +363,15 @@ export const mutations = {
},
setRetweeted (state, { status, value }) {
const newStatus = state.allStatusesObject[status.id]
if (newStatus.repeated !== value) {
if (value) {
newStatus.repeat_num++
} else {
newStatus.repeat_num--
}
}
newStatus.repeated = value
},
setDeleted (state, { status }) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment