diff --git a/src/addon/block/classes/block-component.ts b/src/addon/block/classes/block-component.ts index 11e685922..3a2282d1c 100644 --- a/src/addon/block/classes/block-component.ts +++ b/src/addon/block/classes/block-component.ts @@ -26,7 +26,7 @@ export class AddonBlockComponent implements OnInit { protected domUtils: CoreDomUtilsProvider; protected logger; - constructor(injector: Injector, loggerName: string = 'CoreCourseModuleMainResourceComponent') { + constructor(injector: Injector, loggerName: string = 'AddonBlockComponent') { this.domUtils = injector.get(CoreDomUtilsProvider); const loggerProvider = injector.get(CoreLoggerProvider); this.logger = loggerProvider.getInstance(loggerName); diff --git a/src/core/courses/pages/dashboard/dashboard.html b/src/core/courses/pages/dashboard/dashboard.html index c152e5b29..5e24c1474 100644 --- a/src/core/courses/pages/dashboard/dashboard.html +++ b/src/core/courses/pages/dashboard/dashboard.html @@ -12,7 +12,7 @@ - + @@ -24,7 +24,7 @@ - + @@ -36,7 +36,7 @@ - + diff --git a/src/core/courses/pages/dashboard/dashboard.ts b/src/core/courses/pages/dashboard/dashboard.ts index 2bffccbb2..e02bb632c 100644 --- a/src/core/courses/pages/dashboard/dashboard.ts +++ b/src/core/courses/pages/dashboard/dashboard.ts @@ -43,7 +43,6 @@ export class CoreCoursesDashboardPage implements OnDestroy { timelineEnabled = false; coursesEnabled = false; tabsReady = false; - tabShown = 'courses'; searchEnabled: boolean; tabs = []; siteName: string; @@ -111,15 +110,6 @@ export class CoreCoursesDashboardPage implements OnDestroy { this.tabsComponent && this.tabsComponent.ionViewDidLeave(); } - /** - * The tab has changed. - * - * @param {string} tab Name of the new tab. - */ - tabChanged(tab: string): void { - this.tabShown = tab; - } - /** * Go to search courses. */