Skip to content

Commit

Permalink
feat: delete routing import
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Badura committed Jun 10, 2024
1 parent 5a65bb4 commit 2fc6c24
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, ElementRef, Inject, OnInit, ViewChild } from '@angular/core'
import { CommonModule, Location } from '@angular/common'
import { Router, RouterModule } from '@angular/router'
import { RouterModule } from '@angular/router'
import { MenuItem } from 'primeng/api'
import { Table } from 'primeng/table'
import { ReplaySubject } from 'rxjs'
Expand Down Expand Up @@ -68,7 +68,6 @@ export class OneCXUserRolesPermissionsComponent implements OnInit, ocxRemoteComp

constructor(
@Inject(BASE_URL) private baseUrl: ReplaySubject<string>,
private readonly router: Router,
private userService: UserService,
private msgService: PortalMessageService,
private readonly roleApi: RoleAPIService,
Expand Down Expand Up @@ -100,8 +99,8 @@ export class OneCXUserRolesPermissionsComponent implements OnInit, ocxRemoteComp
{ field: 'applicationId', header: 'USER_ROLE_PERMISSIONS.APPLICATION' }
]
this.items = [
{ label: 'ROLE_PERMISSIONS.TABS.PERMISSIONS', icon: 'fa-calendar', id: 'tabPerm' },
{ label: 'ROLE_PERMISSIONS.TABS.ROLES', icon: 'fa-bar-chart', id: 'tabRole' }
{ label: 'USER_ROLE_PERMISSIONS.TABS.PERMISSIONS', icon: 'fa-calendar', id: 'tabPerm' },
{ label: 'USER_ROLE_PERMISSIONS.TABS.ROLES', icon: 'fa-bar-chart', id: 'tabRole' }
]
this.activeItem = this.items[0]
this.selectedColumns = this.cols
Expand Down

0 comments on commit 2fc6c24

Please sign in to comment.