fix links dashboards
This commit is contained in:
parent
5542c12c82
commit
8812eea915
|
@ -33,8 +33,6 @@ import { PageRibbonComponent } from './layouts/profiles/page-ribbon.component';
|
|||
import { ErrorComponent } from './layouts/error/error.component';
|
||||
import { SidebarComponent } from './layouts/sidebar/sidebar.component';
|
||||
import { PaginaPrincipalComponent } from './pagina-principal/pagina-principal.component';
|
||||
import { DashboardUserComponent } from './entities/dashboard/dashboard-user/dashboard-user.component';
|
||||
import { DashboardAdminComponent } from './entities/dashboard/dashboard-admin/dashboard-admin.component';
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
|
@ -81,16 +79,7 @@ import { DashboardAdminComponent } from './entities/dashboard/dashboard-admin/da
|
|||
} as SocialAuthServiceConfig,
|
||||
},
|
||||
],
|
||||
declarations: [
|
||||
MainComponent,
|
||||
NavbarComponent,
|
||||
ErrorComponent,
|
||||
PageRibbonComponent,
|
||||
FooterComponent,
|
||||
SidebarComponent,
|
||||
DashboardUserComponent,
|
||||
DashboardAdminComponent,
|
||||
],
|
||||
declarations: [MainComponent, NavbarComponent, ErrorComponent, PageRibbonComponent, FooterComponent, SidebarComponent],
|
||||
bootstrap: [MainComponent],
|
||||
})
|
||||
export class AppModule {
|
||||
|
|
|
@ -4,11 +4,11 @@ import { CommonModule } from '@angular/common';
|
|||
import { DashboardUserComponent } from './dashboard-user/dashboard-user.component';
|
||||
import { DashboardAdminComponent } from './dashboard-admin/dashboard-admin.component';
|
||||
import { SharedModule } from '../../shared/shared.module';
|
||||
import { PlantillaRoutingModule } from '../plantilla/route/plantilla-routing.module';
|
||||
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
||||
import { DashboardRoutingModule } from './route/dashboard-routing.module';
|
||||
|
||||
@NgModule({
|
||||
declarations: [DashboardUserComponent, DashboardAdminComponent],
|
||||
imports: [CommonModule, SharedModule, PlantillaRoutingModule, FontAwesomeModule],
|
||||
imports: [CommonModule, SharedModule, DashboardRoutingModule, FontAwesomeModule],
|
||||
})
|
||||
export class DashboardModule {}
|
||||
|
|
|
@ -83,12 +83,12 @@ import { RouterModule } from '@angular/router';
|
|||
loadChildren: () => import('./usuario-plantillas/usuario-plantillas.module').then(m => m.UsuarioPlantillasModule),
|
||||
},
|
||||
{
|
||||
path: 'dashboard/admin',
|
||||
path: 'dashboard',
|
||||
data: { pageTitle: 'dataSurveyApp.Dashboard.title' },
|
||||
loadChildren: () => import('./dashboard/dashboard.module').then(m => m.DashboardModule),
|
||||
},
|
||||
{
|
||||
path: 'dashboard/user',
|
||||
path: 'dashboard',
|
||||
data: { pageTitle: 'dataSurveyApp.Dashboard.title' },
|
||||
loadChildren: () => import('./dashboard/dashboard.module').then(m => m.DashboardModule),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue