odaptos_design_system 2.0.121 → 2.0.122

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.
@@ -13682,7 +13682,7 @@ display: flex;
13682
13682
  return;
13683
13683
  }
13684
13684
  console.log('tasks', tasks);
13685
- if (tasks[tasks.length - 1] && lastTaskRead && tasks[tasks.length - 1]._id !== lastTaskRead._id) {
13685
+ if (tasks.length > 0) {
13686
13686
  const onlyTasks = tasks.filter(task => task.type === 'task');
13687
13687
  const onlyScenarios = tasks.filter(task => task.type === 'scenario');
13688
13688
  const lastTask = onlyTasks[onlyTasks.length - 1];