Skip to content

Commit

Permalink
MDL-73068 timeline: Make dates view consistent where no courses enrolled
Browse files Browse the repository at this point in the history
Updating the dates view of the block so it shows the same message as
courses view if the user is not enrolled in any courses. The block also
no longer tries to fetch any content in this case, since we know they
have no courses to fetch events from.
  • Loading branch information
mickhawkins committed Jan 18, 2022
1 parent e01f2d5 commit 22eacb1
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 28 deletions.
2 changes: 1 addition & 1 deletion blocks/timeline/amd/build/view_dates.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion blocks/timeline/amd/build/view_dates.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion blocks/timeline/amd/build/view_nav.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 22eacb1

Please sign in to comment.