Skip to content

Commit 7c3ca26

Browse files
Bouaka Donfack Piagetatarix83
authored andcommitted
Merged in task/dspace-cris-2024_02_x/DSC-2537 (pull request DSpace#3711)
[CST-22830] fix missing outputs and inputs in themed component Approved-by: Giuseppe Digilio
2 parents 18e95b5 + cdcb8db commit 7c3ca26

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/app/shared/dso-selector/modal-wrappers/create-item-parent-selector/themed-create-item-parent-selector.component.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
import {
22
Component,
3+
EventEmitter,
34
Input,
5+
Output,
46
} from '@angular/core';
57
import { ThemedComponent } from 'src/app/shared/theme-support/themed.component';
68

9+
import { DSpaceObject } from '../../../../core/shared/dspace-object.model';
710
import { CreateItemParentSelectorComponent } from './create-item-parent-selector.component';
811

912
/**
@@ -19,8 +22,11 @@ import { CreateItemParentSelectorComponent } from './create-item-parent-selector
1922
export class ThemedCreateItemParentSelectorComponent
2023
extends ThemedComponent<CreateItemParentSelectorComponent> {
2124
@Input() entityType: string;
25+
@Input() emitOnly: boolean;
2226

23-
protected inAndOutputNames: (keyof CreateItemParentSelectorComponent & keyof this)[] = ['entityType'];
27+
@Output() select: EventEmitter<DSpaceObject> = new EventEmitter<DSpaceObject>();
28+
29+
protected inAndOutputNames: (keyof CreateItemParentSelectorComponent & keyof this)[] = ['entityType', 'select', 'emitOnly'];
2430

2531
protected getComponentName(): string {
2632
return 'CreateItemParentSelectorComponent';

0 commit comments

Comments
 (0)