* added authenticate guard

* added metadata schema form, with the form model fields & validation and layout
* fixed the pagination for schemas and fields
* added reducer and actions for the registry state
This commit is contained in:
Samuel
2019-01-17 14:47:22 +01:00
parent 2d0ab6295a
commit 390966f30d
18 changed files with 329 additions and 44 deletions

View File

@@ -1,10 +1,11 @@
import { RouterModule } from '@angular/router';
import { NgModule } from '@angular/core';
import {AuthenticatedGuard} from "../core/auth/authenticated.guard";
@NgModule({
imports: [
RouterModule.forChild([
{ path: 'registries', loadChildren: './admin-registries/admin-registries.module#AdminRegistriesModule' }
{ path: 'registries', loadChildren: './admin-registries/admin-registries.module#AdminRegistriesModule', canActivate: [AuthenticatedGuard] }
])
]
})