Commits

Yura Bondarenko authored 0115c5217b3
87968: Turn off preserveWhitespaces by default

And set to true explicitly for MyDSpace action components to preserve look (see https://github.com/DSpace/dspace-angular/issues/903#issuecomment-713013310)
No tags

src/app/shared/mydspace-actions/claimed-task/abstract/claimed-task-actions-abstract.component.ts

Modified
18 18
19 19 /**
20 20 * Abstract component for rendering a claimed task's action
21 21 * To create a child-component for a new option:
22 22 * - Set the "option" of the component
23 23 * - Add a @rendersWorkflowTaskOption annotation to your component providing the same enum value
24 24 * - Optionally overwrite createBody if the request body requires more than just the option
25 25 */
26 26 @Component({
27 27 selector: 'ds-claimed-task-action-abstract',
28 - template: ''
28 + template: '',
29 + preserveWhitespaces: true,
29 30 })
30 31 export abstract class ClaimedTaskActionsAbstractComponent extends MyDSpaceReloadableActionsComponent<ClaimedTask, ClaimedTaskDataService> implements OnDestroy {
31 32
32 33 /**
33 34 * The workflow task option the child component represents
34 35 */
35 36 abstract option: string;
36 37
37 38 object: ClaimedTask;
38 39

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut