Skip to content
Snippets Groups Projects
Commit 8be49bae authored by Iosif Boanca's avatar Iosif Boanca
Browse files

Status updates to review completed after submiting a report

parent f88c5165
No related branches found
No related tags found
2 merge requests!110Sprint 21 Features,!87Status updates to review completed after submiting a report
...@@ -210,6 +210,7 @@ export const onReviewSubmit = ( ...@@ -210,6 +210,7 @@ export const onReviewSubmit = (
collectionId: project.id, collectionId: project.id,
recommendation: newValues, recommendation: newValues,
}) })
.then(() => dispatch(actions.getCollection({ id: project.id })))
.then(() => { .then(() => {
dispatch(actions.getFragments({ id: project.id })) dispatch(actions.getFragments({ id: project.id }))
hideModal() hideModal()
...@@ -275,7 +276,6 @@ export const onRevisionSubmit = ( ...@@ -275,7 +276,6 @@ export const onRevisionSubmit = (
onCancel: hideModal, onCancel: hideModal,
}) })
} }
// revision validators // revision validators
export const requiredHTML = value => { export const requiredHTML = value => {
if (value && value.replace('<p></p>', '').replace('<h1></h1>', '')) { if (value && value.replace('<p></p>', '').replace('<h1></h1>', '')) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment