import { AuthGuard } from '../guards/auth.guard'; import { DatasetAdminListingComponent } from './dataset-admin-listing.component'; import { RouterModule, Routes } from '@angular/router'; export const DatasetAdminRoutes: Routes = [ { path: '', component: DatasetAdminListingComponent, canActivate: [AuthGuard] }, ];