Commits
Yura Bondarenko authored 0115c5217b3
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 | |