yanivsegev / VSTS-DropPlan

Plan and track your sprint with a calendar based view.
MIT License
20 stars 17 forks source link

Move adding of CSS class so that it always runs #104

Closed sgtwilko closed 8 months ago

sgtwilko commented 8 months ago

In my haste to fix the earlier crashing issues I popped an if around a chunk of code I'd added that needed a valid parentWit. Unfortunately there was a line adding classes to the WitTasks inside the new if.

This fixes my mistake and returns the line that adds the classes even if the item doesn't have a parent in the sprint.

I've tested in all the situations that failed earlier, in both Agile & Scrum.