From 7e2e8cde27e56b77c86775629cad08022c4b4afc Mon Sep 17 00:00:00 2001 From: joaoguilherme2003 Date: Tue, 26 Sep 2023 17:16:39 -0300 Subject: [PATCH] Remove comments and unnused imports --- .../orb/policy/policy-datasets/policy-datasets.component.ts | 4 ++-- .../orb/policy/policy-interface/policy-interface.component.ts | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/src/app/shared/components/orb/policy/policy-datasets/policy-datasets.component.ts b/ui/src/app/shared/components/orb/policy/policy-datasets/policy-datasets.component.ts index bd0e83f3c..d606e0eee 100644 --- a/ui/src/app/shared/components/orb/policy/policy-datasets/policy-datasets.component.ts +++ b/ui/src/app/shared/components/orb/policy/policy-datasets/policy-datasets.component.ts @@ -100,8 +100,8 @@ export class PolicyDatasetsComponent prop: 'agent_group', name: 'Agent Group', resizeable: true, - canAutoResize: true, // Allow auto-resizing - flexGrow: 3, // Set flexGrow for auto-adjustment + canAutoResize: true, + flexGrow: 3, cellTemplate: this.groupTemplateCell, }, { diff --git a/ui/src/app/shared/components/orb/policy/policy-interface/policy-interface.component.ts b/ui/src/app/shared/components/orb/policy/policy-interface/policy-interface.component.ts index 5c35ca85d..3827f5aae 100644 --- a/ui/src/app/shared/components/orb/policy/policy-interface/policy-interface.component.ts +++ b/ui/src/app/shared/components/orb/policy/policy-interface/policy-interface.component.ts @@ -8,7 +8,6 @@ import { Output, SimpleChanges, ViewChild, - Renderer2, } from '@angular/core'; import { AgentPolicy } from 'app/common/interfaces/orb/agent.policy.interface'; import { FormBuilder, FormControl, Validators } from '@angular/forms'; @@ -66,7 +65,6 @@ export class PolicyInterfaceComponent implements OnInit, AfterViewInit, OnChange constructor( private fb: FormBuilder, private orb: OrbService, - private renderer: Renderer2, ) { this.policy = {}; this.code = '';