File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/app/shared/comcol/comcol-forms/comcol-form Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ import {
6363import { FormComponent } from '../../../form/form.component' ;
6464import { NotificationsService } from '../../../notifications/notifications.service' ;
6565import { ThemedUploaderComponent } from '../../../upload/uploader/themed-uploader.component' ;
66- import { UploaderComponent } from '../../../upload/uploader/uploader.component' ;
6766import { UploaderOptions } from '../../../upload/uploader/uploader-options.model' ;
6867import { followLink } from '../../../utils/follow-link-config.model' ;
6968import { VarDirective } from '../../../utils/var.directive' ;
@@ -93,7 +92,7 @@ export class ComColFormComponent<T extends Collection | Community> implements On
9392 /**
9493 * The logo uploader component
9594 */
96- @ViewChild ( UploaderComponent ) uploaderComponent : UploaderComponent ;
95+ @ViewChild ( ThemedUploaderComponent ) uploaderComponent : ThemedUploaderComponent ;
9796
9897 /**
9998 * DSpaceObject that the form represents
@@ -275,7 +274,7 @@ export class ComColFormComponent<T extends Collection | Community> implements On
275274 if ( this . isCreation ) {
276275 this . submitForm . emit ( {
277276 dso : updatedDSO ,
278- uploader : hasValue ( this . uploaderComponent ) ? this . uploaderComponent . uploader : undefined ,
277+ uploader : hasValue ( this . uploaderComponent ) ? this . uploaderComponent . compRef$ . value . instance . uploader : undefined ,
279278 operations : operations ,
280279 } ) ;
281280 } else {
You can’t perform that action at this time.
0 commit comments