diff --git a/ui-ngx/src/app/modules/home/pages/edge/edge-routing.module.ts b/ui-ngx/src/app/modules/home/pages/edge/edge-routing.module.ts index 4d101d81fe..4fcad45d19 100644 --- a/ui-ngx/src/app/modules/home/pages/edge/edge-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/edge/edge-routing.module.ts @@ -50,8 +50,8 @@ const routes: Routes = [ path: ':edgeId/ruleChains', component: EntitiesTableComponent, data: { - auth: [Authority.TENANT_ADMIN, Authority.CUSTOMER_USER], - ruleChainScope: 'edge', + auth: [Authority.TENANT_ADMIN], + ruleChainsType: 'edge', breadcrumb: { label: 'edge.rulechains', icon: 'settings_ethernet' diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-routing.module.ts b/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-routing.module.ts index 3be2010445..931fd3d70f 100644 --- a/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-routing.module.ts +++ b/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-routing.module.ts @@ -151,7 +151,7 @@ const routes: Routes = [ data: { auth: [Authority.TENANT_ADMIN], title: 'rulechain.rulechains', - ruleChainScope: 'tenant', + ruleChainsType: 'tenant', type: ruleChainType.core }, resolve: { @@ -214,7 +214,7 @@ const routes: Routes = [ data: { auth: [Authority.TENANT_ADMIN], title: 'edge.rulechains', - ruleChainScope: 'edges', + ruleChainsType: 'edges', type: ruleChainType.edge }, resolve: { diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts b/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts index cf8e9e1420..d43b38a8d7 100644 --- a/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts +++ b/ui-ngx/src/app/modules/home/pages/rulechain/rulechains-table-config.resolver.ts @@ -103,7 +103,7 @@ export class RuleChainsTableConfigResolver implements Resolve { const routeParams = route.params; this.config.componentsData = { - ruleChainScope: route.data.ruleChainScope, + ruleChainScope: route.data.ruleChainsType, type: route.data.type, edgeId: routeParams.edgeId };