diff --git a/src/app/shared/models/workshop.model.ts b/src/app/shared/models/workshop.model.ts index c92bd89916..eb4f41a0f5 100644 --- a/src/app/shared/models/workshop.model.ts +++ b/src/app/shared/models/workshop.model.ts @@ -1,5 +1,5 @@ -import { Address } from "./address.model"; -import { Teacher } from "./teacher.model"; +import { Address } from './address.model'; +import { Teacher } from './teacher.model'; export class Workshop { id: number; diff --git a/src/app/shell/provider/personal-cabinet/personal-cabinet.component.html b/src/app/shell/provider/personal-cabinet/personal-cabinet.component.html index f45f7dbf48..b0ccc12c76 100644 --- a/src/app/shell/provider/personal-cabinet/personal-cabinet.component.html +++ b/src/app/shell/provider/personal-cabinet/personal-cabinet.component.html @@ -1,12 +1,12 @@ -
-
-

КАБІНЕТ КОРИСТУВАЧА

- -
+
+

КАБІНЕТ КОРИСТУВАЧА

+ -
\ No newline at end of file +
+ diff --git a/src/app/shell/provider/provider-routing.module.ts b/src/app/shell/provider/provider-routing.module.ts index 524c3b6a58..2368d7c782 100644 --- a/src/app/shell/provider/provider-routing.module.ts +++ b/src/app/shell/provider/provider-routing.module.ts @@ -1,12 +1,12 @@ -import { NgModule } from '@angular/core'; -import { Routes, RouterModule } from '@angular/router'; -import { PersonalCabinetComponent } from './personal-cabinet/personal-cabinet.component'; -import { CreateActivityComponent } from './provider-activities/create-activity/create-activity.component'; +import {NgModule} from '@angular/core'; +import {Routes, RouterModule} from '@angular/router'; +import {PersonalCabinetComponent} from './personal-cabinet/personal-cabinet.component'; +import {CreateActivityComponent} from './provider-activities/create-activity/create-activity.component'; +import {ProviderConfigComponent} from './provider-config/provider-config.component'; +import {ProviderRequestsComponent} from './provider-requests/provider-requests.component'; import { ProviderActivitiesComponent } from './provider-activities/provider-activities.component'; -import { ProviderConfigComponent } from './provider-config/provider-config.component'; import { ProviderOrgInfoComponent } from './provider-org-info/provider-org-info.component'; -import { ProviderApplicationsComponent } from './provider-applications/provider-applications.component'; const routes: Routes = [ { @@ -25,17 +25,48 @@ const routes: Routes = [ component: ProviderActivitiesComponent, }, { - path: 'applications', - component: ProviderApplicationsComponent, + path: 'requests', + component: ProviderRequestsComponent, + }, + { + path: 'messages' }, ] }, - { path: 'create-activity/:id', component: CreateActivityComponent } + { path: 'create-activity/:id', component: CreateActivityComponent }, + { + path: 'cabinet', component: PersonalCabinetComponent, + children: [ + { + path: 'config', + component: ProviderConfigComponent, + }, + { + path: 'org-info', + component: ProviderOrgInfoComponent, + }, + { + path: 'activities', + component: ProviderActivitiesComponent, + }, + { + path: 'requests', + component: ProviderRequestsComponent, + }, + { + path: 'messages' + }, + + ] + }, + {path: 'create-activity/:id', component: CreateActivityComponent} ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) -export class ProviderRoutingModule { } +export class ProviderRoutingModule { +} +