mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
8a126b75e5
When there is no group but a default groupmode is set, the group configuration is provided but the group data is not present. This resulted in a JS error and an invalid filter line was left in place. This change conditionally checks the data-filter-type-class value of the filterDataNode so that no JS error is produced if the filterDataNode does not exist and therefore removes the empty filter row.