reference type routing fix

This commit is contained in:
amentis 2024-04-26 12:14:46 +03:00
parent db80cb1c34
commit d30613b061
1 changed files with 16 additions and 15 deletions

View File

@ -19,7 +19,8 @@ const routes: Routes = [
{
path: 'new',
component: ReferenceTypeEditorComponent,
canActivate: [AdminAuthGuard],
canActivate: [AuthGuard],
canDeactivate: [PendingChangesGuard],
data: {
authContext: {
permissions: [AppPermission.EditReferenceType]