Update the parent of the dropped row to check if it still has children then update its functionality based from it.
Use num-of-children (numOfChildren) instead of has-children (hasChildren) to easily track if the folder has no children after several drag and drop
Remove useless whitespaces

GCP-10444

Reviewer: Crisjaira Villarino