@zeniai/client-epic-state 4.12.14 → 4.12.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -293,12 +293,12 @@ const taskList = (0, toolkit_1.createSlice)({
293
293
  const dueDateKey = currentTaskState.dueDate != null
294
294
  ? getDueDateGroupKey(currentTaskState.dueDate.toString())
295
295
  : 'upcoming';
296
- draft.taskIdsByPriority[priorityKey].filter((taskId) => taskId !== currentTaskState.id);
297
- draft.taskIdsByStatus[statusKey].filter((taskId) => taskId !== currentTaskState.id);
298
- draft.taskIdsByAssignees[assigneeKey].filter((taskId) => taskId !== currentTaskState.id);
299
- draft.taskIdsByTags[tagsKey].filter((taskId) => taskId !== currentTaskState.id);
300
- draft.taskIdsByDueDate[dueDateKey].filter((taskId) => taskId !== currentTaskState.id);
301
- draft.taskIdsByGroupsIds[taskGroupId].filter((taskId) => taskId !== currentTaskState.id);
296
+ draft.taskIdsByPriority[priorityKey] = draft.taskIdsByPriority[priorityKey].filter((taskId) => taskId !== currentTaskState.id);
297
+ draft.taskIdsByStatus[statusKey] = draft.taskIdsByStatus[statusKey].filter((taskId) => taskId !== currentTaskState.id);
298
+ draft.taskIdsByAssignees[assigneeKey] = draft.taskIdsByAssignees[assigneeKey].filter((taskId) => taskId !== currentTaskState.id);
299
+ draft.taskIdsByTags[tagsKey] = draft.taskIdsByTags[tagsKey].filter((taskId) => taskId !== currentTaskState.id);
300
+ draft.taskIdsByDueDate[dueDateKey] = draft.taskIdsByDueDate[dueDateKey].filter((taskId) => taskId !== currentTaskState.id);
301
+ draft.taskIdsByGroupsIds[taskGroupId] = draft.taskIdsByGroupsIds[taskGroupId].filter((taskId) => taskId !== currentTaskState.id);
302
302
  }
303
303
  const priorityKey = (0, taskState_1.toPriorityCodeType)(task.priority.code);
304
304
  const statusKey = (0, taskState_1.toTaskStatusCodeType)(task.status.code);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.12.14",
3
+ "version": "4.12.15",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",