Skip to content

Commit

Permalink
fix(cli): show course selection if no courses are active
Browse files Browse the repository at this point in the history
(cherry picked from commit c42bdd9)
  • Loading branch information
thetric committed Apr 8, 2017
1 parent 9f51f0f commit aa6135e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ final class IliasCliController {
Collection<Course> coursesFromIlias = iliasService.joinedCourses
Collection<Course> coursesToSync

if (cliOptions.showCourseSelection) {
if (cliOptions.showCourseSelection || !prefs.activeCourses) {
try {
coursesToSync = showAndSaveCourseSelection(coursesFromIlias)
} catch (CourseSelectionOutOfRange e) {
Expand Down

0 comments on commit aa6135e

Please sign in to comment.