Commit 68d7219e authored by Mahdi Mahmoudy's avatar Mahdi Mahmoudy
Browse files

fixed notification issue after status update

parent cb667539
......@@ -81,12 +81,17 @@ const saveComment = (
const updateStatus = (
id,
status,
notificationLists,
userToken,
onSuccess,
onFailure,
apiUri,
) => {
const notificationListsIds = notificationLists
.map(l => parseInt(l.value, 10));
const changes = {
email_recipient_ids: notificationListsIds,
status,
};
......@@ -184,6 +189,7 @@ const CommentsAndStatusModal = ({
updateStatus(
id,
mappingStatus,
selectedNotificationsLists,
userToken,
statusUpdateSuccess,
statusUpdateFail,
......
Markdown is supported
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