autowp/autowp-frontend

View on GitHub
src/app/upload/upload-routing.module.ts

Summary

Maintainability
A
40 mins
Test Coverage
import {Routes} from '@angular/router';
 
export const routes: Routes = [
{
children: [
Similar blocks of code found in 33 locations. Consider refactoring.
{
loadComponent: () => import('./select/select.component').then((m) => m.UploadSelectComponent),
path: 'select',
title: $localize`Select brand`,
},
{
loadComponent: () => import('./index/index.component').then((m) => m.UploadIndexComponent),
path: '',
pathMatch: 'full',
title: $localize`Add picture`,
},
],
loadComponent: () => import('./upload.component').then((m) => m.UploadComponent),
path: '',
title: $localize`Add picture`,
},
];