Skip to content

Fix pin/unpin rows of gant/time chart #374

@theibhir

Description

@theibhir

Bug Description:

When pining a row with id 2 the duplicated id is -1 ( 2 XOR -3 = -1) which is the parent id of the tree.
Since we already have an id of -1 as a parent tree the duplicated id does not get added to the tree list therefore the mapping breaks.

Steps to Reproduce:

  1. Pin a row that has an id of 2.
  2. It will go up but you won't be able to unpin it from the top.

Additional Information

  • Operating System: Linux
  • VSCode Version: Dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions