diff --git a/frontend/src/app/modules/common/step-tree/step-tree.component.ts b/frontend/src/app/modules/common/step-tree/step-tree.component.ts index 0790bf2fb9..f000bd1a3f 100644 --- a/frontend/src/app/modules/common/step-tree/step-tree.component.ts +++ b/frontend/src/app/modules/common/step-tree/step-tree.component.ts @@ -21,7 +21,7 @@ interface TreeNode { export class StepTreeComponent { treeControl = new NestedTreeControl((node) => node.children); // dataSource = new MatTreeNestedDataSource(); - dataSource: any + dataSource: { data: TreeNode[] } = { data: [] } @Input('treeData') treeData!: any; @Input('currentNode') currentNode!: any; diff --git a/frontend/src/app/modules/policy-engine/dialogs/policy-wizard-dialog/policy-wizard-dialog.component.html b/frontend/src/app/modules/policy-engine/dialogs/policy-wizard-dialog/policy-wizard-dialog.component.html index 2917eeeb8b..b25bf25126 100644 --- a/frontend/src/app/modules/policy-engine/dialogs/policy-wizard-dialog/policy-wizard-dialog.component.html +++ b/frontend/src/app/modules/policy-engine/dialogs/policy-wizard-dialog/policy-wizard-dialog.component.html @@ -50,6 +50,9 @@ optionValue="id" placeholder="Not selected" > + + {{ selectedItem ? selectedItem.name : 'Not selected' }} +
@@ -63,6 +66,9 @@ optionValue="id" placeholder="Not selected" > + + {{ selectedItem ? selectedItem.name : 'Not selected' }} +
@@ -118,6 +124,9 @@

Categorization

optionValue="id" placeholder="Not selected" > + + {{ selectedItem ? selectedItem.name : 'Not selected' }} +