import { ExtraOptions, Routes } from '@angular/router';
import { NomenclatoreComponent } from './nomenclatore.component';

export const routerOptions: ExtraOptions = {
  anchorScrolling: 'enabled',
  scrollPositionRestoration: 'enabled',
  paramsInheritanceStrategy: 'always',
};

export const nomenclatoreRoutes: Routes = [
  {
    path: '',
    component: NomenclatoreComponent,
    children: [],
    // data: { expectedPrivileges: ['NOMENCLATORE_MANAGER'] },
  },
];
