Skip to content

Commit

Permalink
[CST-18016] Fix on themed-create-item-parent-selector.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamF42 committed Feb 21, 2025
1 parent eeec2b5 commit 4235351
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class ThemedCreateItemParentSelectorComponent
extends ThemedComponent<CreateItemParentSelectorComponent> {
@Input() entityType: string;
@Output() select: EventEmitter<DSpaceObject> = new EventEmitter<DSpaceObject>();
@Input() emitOnly = true;
@Input() emitOnly = false;

Check warning on line 28 in src/app/shared/dso-selector/modal-wrappers/create-item-parent-selector/themed-create-item-parent-selector.component.ts

View check run for this annotation

Codecov / codecov/patch

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

Added lines #L27 - L28 were not covered by tests

protected inAndOutputNames: (keyof CreateItemParentSelectorComponent & keyof this)[] = ['entityType', 'select', 'emitOnly'];

Check warning on line 30 in src/app/shared/dso-selector/modal-wrappers/create-item-parent-selector/themed-create-item-parent-selector.component.ts

View check run for this annotation

Codecov / codecov/patch

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

Added line #L30 was not covered by tests

Expand Down

0 comments on commit 4235351

Please sign in to comment.