File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
course/format/singleactivity/components
usertours/components/user-tour
user/components/user-profile-field Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import { CoreCourseAnyCourseData } from '@features/courses/services/courses';
2121import { CoreCourseModuleCompletionData , CoreCourseModuleData , CoreCourseSection } from '@features/course/services/course-helper' ;
2222import { CoreCourse } from '@features/course/services/course' ;
2323import type { CoreCourseModuleMainActivityComponent } from '@features/course/classes/main-activity-component' ;
24+ import { CoreSharedModule } from '@/core/shared.module' ;
2425
2526/**
2627 * Component to display single activity format. It will determine the right component to use and instantiate it.
@@ -33,7 +34,7 @@ import type { CoreCourseModuleMainActivityComponent } from '@features/course/cla
3334 styleUrl : 'single-activity.scss' ,
3435 standalone : true ,
3536 imports : [
36- CoreDynamicComponent ,
37+ CoreSharedModule ,
3738 ] ,
3839} )
3940export class CoreCourseFormatSingleActivityComponent implements OnChanges {
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import { CoreUserProfileFieldDelegate } from '@features/user/services/user-profi
2121import { CoreUtils } from '@singletons/utils' ;
2222import { ContextLevel } from '@/core/constants' ;
2323import { toBoolean } from '@/core/transforms/boolean' ;
24- import { CoreDynamicComponent } from '../../../../components/dynamic-component/dynamic-component ' ;
24+ import { CoreSharedModule } from '@/core/shared.module ' ;
2525
2626/**
2727 * Directive to render user profile field.
@@ -31,7 +31,7 @@ import { CoreDynamicComponent } from '../../../../components/dynamic-component/d
3131 templateUrl : 'core-user-profile-field.html' ,
3232 standalone : true ,
3333 imports : [
34- CoreDynamicComponent ,
34+ CoreSharedModule ,
3535 ] ,
3636} )
3737export class CoreUserProfileFieldComponent implements OnInit {
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import { CoreDom } from '@singletons/dom';
3535import { CoreEventObserver , CoreEvents } from '@singletons/events' ;
3636import { COLLAPSIBLE_HEADER_UPDATED } from '@directives/collapsible-header' ;
3737import { MAIN_MENU_VISIBILITY_UPDATED_EVENT } from '@features/mainmenu/constants' ;
38- import { NgIf } from '@angular/common ' ;
38+ import { CoreSharedModule } from '@/core/shared.module ' ;
3939
4040const ANIMATION_DURATION = 200 ;
4141const USER_TOURS_BACK_BUTTON_PRIORITY = 100 ;
@@ -52,7 +52,7 @@ const BACKDROP_DISMISS_SAFETY_TRESHOLD = 1000;
5252 styleUrl : 'user-tour.scss' ,
5353 standalone : true ,
5454 imports : [
55- NgIf ,
55+ CoreSharedModule ,
5656 ] ,
5757} )
5858export class CoreUserToursUserTourComponent implements AfterViewInit , OnDestroy {
You can’t perform that action at this time.
0 commit comments