You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by rs...@apache.org on 2023/05/11 05:44:16 UTC

[trafficcontrol] 01/01: Fixed Lint Issues

This is an automated email from the ASF dual-hosted git repository.

rshah pushed a commit to branch feature/tpv2-role-details
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit fee4f76341f700cff54f1594d11423c188767328
Author: Rima Shah <ri...@comcast.com>
AuthorDate: Fri May 5 09:48:51 2023 -0600

    Fixed Lint Issues
---
 .../src/app/core/users/roles/detail/role-detail.component.spec.ts    | 5 ++---
 .../src/app/core/users/roles/detail/role-detail.component.ts         | 4 ++--
 .../src/app/core/users/roles/table/roles-table.component.ts          | 1 +
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/experimental/traffic-portal/src/app/core/users/roles/detail/role-detail.component.spec.ts b/experimental/traffic-portal/src/app/core/users/roles/detail/role-detail.component.spec.ts
index 6e1d180395..5daee403bd 100644
--- a/experimental/traffic-portal/src/app/core/users/roles/detail/role-detail.component.spec.ts
+++ b/experimental/traffic-portal/src/app/core/users/roles/detail/role-detail.component.spec.ts
@@ -12,12 +12,11 @@
 * limitations under the License.
 */
 import { ComponentFixture, TestBed } from "@angular/core/testing";
-import { MatDialog, MatDialogModule, type MatDialogRef } from "@angular/material/dialog";
+import { MatDialogModule } from "@angular/material/dialog";
 import { ActivatedRoute } from "@angular/router";
 import { RouterTestingModule } from "@angular/router/testing";
-import { of, ReplaySubject } from "rxjs";
+import { ReplaySubject } from "rxjs";
 
-import { UserService } from "src/app/api";
 import { APITestingModule } from "src/app/api/testing";
 import { RoleDetailComponent } from "src/app/core/users/roles/detail/role-detail.component";
 import { NavigationService } from "src/app/shared/navigation/navigation.service";
diff --git a/experimental/traffic-portal/src/app/core/users/roles/detail/role-detail.component.ts b/experimental/traffic-portal/src/app/core/users/roles/detail/role-detail.component.ts
index ba81b5170f..11fed475fe 100644
--- a/experimental/traffic-portal/src/app/core/users/roles/detail/role-detail.component.ts
+++ b/experimental/traffic-portal/src/app/core/users/roles/detail/role-detail.component.ts
@@ -33,8 +33,8 @@ export class RoleDetailComponent implements OnInit {
 	public new = false;
 	public role!: ResponseRole;
 	constructor(private readonly route: ActivatedRoute, private readonly userService: UserService,
-				private readonly location: Location, private readonly dialog: MatDialog,
-				private readonly header: NavigationService) {
+		private readonly location: Location, private readonly dialog: MatDialog,
+		private readonly header: NavigationService) {
 	}
 
 	/**
diff --git a/experimental/traffic-portal/src/app/core/users/roles/table/roles-table.component.ts b/experimental/traffic-portal/src/app/core/users/roles/table/roles-table.component.ts
index 5e00253cce..80bc8fc5e3 100644
--- a/experimental/traffic-portal/src/app/core/users/roles/table/roles-table.component.ts
+++ b/experimental/traffic-portal/src/app/core/users/roles/table/roles-table.component.ts
@@ -15,6 +15,7 @@
 import { Component, type OnInit } from "@angular/core";
 import { FormControl } from "@angular/forms";
 import {ActivatedRoute, type Params} from "@angular/router";
+
 import { BehaviorSubject } from "rxjs";
 import type { ResponseRole } from "trafficops-types";