openedx / edx-django-utils

edX utilities for Django Application development.
https://edx.readthedocs.io/projects/edx-django-utils/en/latest/
Apache License 2.0
26 stars 20 forks source link

fix: dashboard can have no pages #165

Closed robrap closed 3 years ago

robrap commented 3 years ago

Description:

A dashboard result was found with no pages which crashed the script. This is the quickest fix I could make.

This just fixes a script, so will not be released.

Note: You may want to ignore whitespace for compare, because I just added one if-condition to the beginning.