File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/app/shared/comcol/comcol-forms/comcol-form Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { ResourceType } from '../../../../core/shared/resource-type';
1818import { hasValue , isNotEmpty } from '../../../empty.util' ;
1919import { NotificationsService } from '../../../notifications/notifications.service' ;
2020import { UploaderOptions } from '../../../upload/uploader/uploader-options.model' ;
21- import { UploaderComponent } from '../../../upload/uploader/uploader.component' ;
21+ import { ThemedUploaderComponent } from '../../../upload/uploader/themed- uploader.component' ;
2222import { Operation } from 'fast-json-patch' ;
2323import { NoContent } from '../../../../core/shared/NoContent.model' ;
2424import { getFirstCompletedRemoteData } from '../../../../core/shared/operators' ;
@@ -36,7 +36,7 @@ export class ComColFormComponent<T extends Collection | Community> implements On
3636 /**
3737 * The logo uploader component
3838 */
39- @ViewChild ( UploaderComponent ) uploaderComponent : UploaderComponent ;
39+ @ViewChild ( ThemedUploaderComponent ) uploaderComponent : ThemedUploaderComponent ;
4040
4141 /**
4242 * DSpaceObject that the form represents
@@ -227,7 +227,7 @@ export class ComColFormComponent<T extends Collection | Community> implements On
227227
228228 this . submitForm . emit ( {
229229 dso : updatedDSO ,
230- uploader : hasValue ( this . uploaderComponent ) ? this . uploaderComponent . uploader : undefined ,
230+ uploader : hasValue ( this . uploaderComponent ) ? this . uploaderComponent . compRef$ . value . instance . uploader : undefined ,
231231 deleteLogo : this . markLogoForDeletion ,
232232 operations : operations ,
233233 } ) ;
You can’t perform that action at this time.
0 commit comments