diff --git a/src/services/Task/BoundedTask.js b/src/services/Task/BoundedTask.js index 1c521e0f1..74a8638fd 100644 --- a/src/services/Task/BoundedTask.js +++ b/src/services/Task/BoundedTask.js @@ -126,9 +126,8 @@ export const fetchBoundedTaskMarkers = function(criteria, limit = 50, skipDispat } : null, } ).execute().then(normalizedResults => { - const totalCount = normalizedResults.result.total - - let tasks = _values(_get(normalizedResults, 'entities.tasks', {})) + let tasks = _values(_get(normalizedResults, 'result', {})) + const totalCount = tasks.length tasks = _map(tasks, task => Object.assign(task, {}, task.pointReview) )