Skip to content
Snippets Groups Projects
Commit 44ef9940 authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Add note

parent a39af2b7
No related branches found
No related tags found
No related merge requests found
Pipeline #20526 passed
......@@ -4,11 +4,11 @@ const status = {
actions: {
async ChangeStatusScope({ dispatch, getters }, { statusId, isSensitive, visibility, reportCurrentPage, userId, godmode }) {
await changeStatusScope(statusId, isSensitive, visibility, getters.authHost, getters.token)
if (reportCurrentPage !== 0) {
if (reportCurrentPage !== 0) { // called from Reports
dispatch('FetchReports', reportCurrentPage)
} else if (userId.length > 0) {
} else if (userId.length > 0) { // called from User profile
dispatch('FetchUserStatuses', { userId, godmode })
} else {
} else { // called from GroupedReports
dispatch('FetchGroupedReports')
}
},
......
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