Skip to content

wrong location of sub child/leaf node #3

@Umair-Munir

Description

@Umair-Munir

hi, i have used ancestry-tree view gem with ancestry. In my view i have used the root condition
if node.root?
to show the ree. it works good when i generate the tree in sequence. but when generate any leaf node of already generated parent node it always show its parents to last node. each generated leaf node is appended to last leaf node.
kindly help me how to fix this....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions