Skip to content
  • David Redondo's avatar
    Use some() for searching in list of model indices · 27e1c236
    David Redondo authored
    includes() compares for equality, two objects are only equal if both reference
    the same object. The active task model index is not necessarily the same as the
    indx corresponding to it in the list because they are created seperately.
    Alternatively we can just check if some index in the list is active.
    27e1c236