diff --git a/moodle.config.json b/moodle.config.json index 8ffef01a4..d345c5ec3 100644 --- a/moodle.config.json +++ b/moodle.config.json @@ -53,6 +53,7 @@ "ro": "Română", "ru": "Русский", "sl": "Slovenščina", + "sq": "Shqip", "sr-cr": "Српски", "sr-lt": "Srpski", "sv": "Svenska", diff --git a/src/addons/calendar/services/calendar-helper.ts b/src/addons/calendar/services/calendar-helper.ts index bfe8f04df..024d099aa 100644 --- a/src/addons/calendar/services/calendar-helper.ts +++ b/src/addons/calendar/services/calendar-helper.ts @@ -617,7 +617,7 @@ export class AddonCalendarHelperProvider { const eventCourse = (event.course && event.course.id) || event.courseid; // Show the event if it is from site home or if it matches the selected course. - return !!eventCourse && (eventCourse == CoreSites.getCurrentSiteHomeId() || eventCourse == courseId); + return !eventCourse || (eventCourse === CoreSites.getCurrentSiteHomeId() || eventCourse === courseId); } /** diff --git a/src/addons/mod/assign/components/submission/addon-mod-assign-submission.html b/src/addons/mod/assign/components/submission/addon-mod-assign-submission.html index a3e2145f0..2d8ec7e07 100644 --- a/src/addons/mod/assign/components/submission/addon-mod-assign-submission.html +++ b/src/addons/mod/assign/components/submission/addon-mod-assign-submission.html @@ -166,7 +166,7 @@