Skip to content
Snippets Groups Projects

Resolve "Improve new layout"

Merged Lukasz Lopatowski requested to merge 272-improve-new-layout into develop
26 files
+ 649
32
Compare changes
  • Side-by-side
  • Inline
Files
26
@@ -2,8 +2,14 @@ import {Route} from "@angular/router";
import {AuthGuard} from "../../../auth/auth.guard";
import {RoleGuard} from "../../../auth/role.guard";
import {ConfigurationDetailsComponent} from "./index";
import { WebhookListComponent } from "../webhook/webhook-list/webhook-list.component";
import { WebhookDetailsComponent } from "../webhook/webhook-details/webhook-details.component";
export const ConfigurationRoutes: Route[] = [
{path: 'configuration', component: ConfigurationDetailsComponent, canActivate: [AuthGuard, RoleGuard],
data:{roles: ['ROLE_SYSTEM_ADMIN']} },
{path: 'webhooks', component: WebhookListComponent, canActivate: [AuthGuard, RoleGuard],
data:{roles: ['ROLE_SYSTEM_ADMIN']} },
{path: 'webhooks/:id', component: WebhookDetailsComponent, canActivate: [AuthGuard, RoleGuard],
data:{roles: ['ROLE_SYSTEM_ADMIN']} }
];
Loading