SuffolkLITLab / docassemble-InterviewStats

A docassemble extension.
MIT License
1 stars 0 forks source link

Fix crash when there is no data to draw from #17

Closed BryceStevenWilley closed 1 year ago

BryceStevenWilley commented 1 year ago

The issue is that if there's no data, there's nothing to iterate over when looking for the max value to color the range. In this case, we can simply avoid that range.

Also updates the github workflow to use ALActions.

BryceStevenWilley commented 1 year ago

TBH, I can't reproduce the issue to write a bit more about the problem; I've deleted my local docassemble container a few times since writing this patch. However, it's a safe change, so I'm going to merge anyway.