@@ -28,15 +28,13 @@ import { toBoolean } from '@/core/transforms/boolean';
2828import { CoreAlerts } from '@services/overlays/alerts' ;
2929import { CoreToasts } from '@services/overlays/toasts' ;
3030import { CoreWSFile } from '@services/ws' ;
31- import { TranslateModule } from '@ngx-translate/core' ;
32- import { CoreFileComponent } from '../file/file' ;
33- import { CoreLocalFileComponent } from '../local-file/local-file' ;
34- import { NgFor } from '@angular/common' ;
35- import { CoreFaIconDirective } from '../../directives/fa-icon' ;
36- import { CoreUpdateNonReactiveAttributesDirective } from '../../directives/update-non-reactive-attributes' ;
37- import { CoreMarkRequiredComponent } from '../mark-required/mark-required' ;
38- import { IonicModule } from '@ionic/angular' ;
31+ import { CoreBaseModule } from '@/core/base.module' ;
3932import { CoreLoadingComponent } from '../loading/loading' ;
33+ import { CoreLocalFileComponent } from '../local-file/local-file' ;
34+ import { CoreFileComponent } from '../file/file' ;
35+ import { CoreMarkRequiredComponent } from '@components/mark-required/mark-required' ;
36+ import { CoreFaIconDirective } from '@directives/fa-icon' ;
37+ import { CoreUpdateNonReactiveAttributesDirective } from '@directives/update-non-reactive-attributes' ;
4038
4139/**
4240 * Component to render attachments, allow adding more and delete the current ones.
@@ -57,15 +55,13 @@ import { CoreLoadingComponent } from '../loading/loading';
5755 styleUrl : 'attachments.scss' ,
5856 standalone : true ,
5957 imports : [
60- CoreLoadingComponent ,
61- IonicModule ,
62- CoreMarkRequiredComponent ,
63- CoreUpdateNonReactiveAttributesDirective ,
58+ CoreBaseModule ,
6459 CoreFaIconDirective ,
65- NgFor ,
60+ CoreUpdateNonReactiveAttributesDirective ,
61+ CoreLoadingComponent ,
6662 CoreLocalFileComponent ,
6763 CoreFileComponent ,
68- TranslateModule ,
64+ CoreMarkRequiredComponent ,
6965 ] ,
7066} )
7167export class CoreAttachmentsComponent implements OnInit {
0 commit comments