Skip to content

Commit 5d1ad71

Browse files
committed
hide kanban routes & module
1 parent ab679cf commit 5d1ad71

4 files changed

Lines changed: 28 additions & 28 deletions

File tree

projects/social_platform/src/app/ui/pages/projects/detail/work-section/work-section.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ <h3 class="text-body-12 lists__title">мои задачи</h3>
88
<i appIcon icon="task" class="lists__icon" appSquare="12"></i>
99
</div>
1010

11-
<a [routerLink]="'/office/projects/' + projectId + '/kanban/'">
11+
<!-- <a [routerLink]="'/office/projects/' + projectId + '/kanban/'">
1212
<app-button size="big" customTypographyClass="text-body-12" appearance="outline"
1313
>открыть доску задач</app-button
1414
>
15-
</a>
15+
</a> -->
1616
</div>
1717

1818
<div class="work-section__section">
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
/** @format */
22

33
import { Routes } from "@angular/router";
4-
import { KanbanArhiveComponent } from "@ui/pages/projects/detail/kanban/pages/archive/kanban-archive.component";
5-
import { KanbanBoardComponent } from "@ui/pages/projects/detail/kanban/pages/board/kanban-board.component";
4+
// import { KanbanArhiveComponent } from "@ui/pages/projects/detail/kanban/pages/archive/kanban-archive.component";
5+
// import { KanbanBoardComponent } from "@ui/pages/projects/detail/kanban/pages/board/kanban-board.component";
66

77
export const KANBAN_DETAIL_ROUTES: Routes = [
8-
{ path: "", pathMatch: "full", redirectTo: "board" },
9-
{
10-
path: "board",
11-
component: KanbanBoardComponent,
12-
},
13-
{
14-
path: "archive",
15-
component: KanbanArhiveComponent,
16-
},
8+
// { path: "", pathMatch: "full", redirectTo: "board" },
9+
// {
10+
// path: "board",
11+
// component: KanbanBoardComponent,
12+
// },
13+
// {
14+
// path: "archive",
15+
// component: KanbanArhiveComponent,
16+
// },
1717
];

projects/social_platform/src/app/ui/routes/kanban/kanban.routes.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import { Routes } from "@angular/router";
44

55
export const KANBAN_ROUTES: Routes = [
6-
{
7-
path: ":kanbanId",
8-
loadChildren: () => import("./kanban-detail.routes").then(c => c.KANBAN_DETAIL_ROUTES),
9-
},
6+
// {
7+
// path: ":kanbanId",
8+
// loadChildren: () => import("./kanban-detail.routes").then(c => c.KANBAN_DETAIL_ROUTES),
9+
// },
1010
];

projects/social_platform/src/app/ui/routes/projects/detail.routes.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import { ProjectTeamComponent } from "../../pages/projects/detail/team/team.comp
99
import { ProjectVacanciesComponent } from "../../pages/projects/detail/vacancies/vacancies.component";
1010
import { DeatilComponent } from "@ui/widgets/detail/detail.component";
1111
import { ProjectWorkSectionComponent } from "../../pages/projects/detail/work-section/work-section.component";
12-
import { KanbanBoardResolver } from "../../pages/projects/detail/kanban/kanban.resolver";
13-
import { KanbanBoardGuard } from "../../../../../../core/src/lib/guards/kanban/kanban.guard";
14-
import { KanbanComponent } from "../../pages/projects/detail/kanban/kanban.component";
12+
// import { KanbanBoardResolver } from "../../pages/projects/detail/kanban/kanban.resolver";
13+
// import { KanbanBoardGuard } from "../../../../../../core/src/lib/guards/kanban/kanban.guard";
14+
// import { KanbanComponent } from "../../pages/projects/detail/kanban/kanban.component";
1515
import { ProjectDetailResolver } from "@ui/pages/projects/detail/detail.resolver";
1616
import { NewsDetailComponent } from "@ui/pages/projects/detail/news-detail/news-detail.component";
1717
import { NewsDetailResolver } from "@ui/pages/projects/detail/news-detail/news-detail.resolver";
@@ -69,14 +69,14 @@ export const PROJECT_DETAIL_ROUTES: Routes = [
6969
data: ProjectResponsesResolver,
7070
},
7171
},
72-
{
73-
path: "kanban",
74-
canActivate: [KanbanBoardGuard],
75-
component: KanbanComponent,
76-
resolve: { data: KanbanBoardResolver },
77-
loadChildren: () => import("../kanban/kanban.routes").then(c => c.KANBAN_ROUTES),
78-
runGuardsAndResolvers: "always",
79-
},
72+
// {
73+
// path: "kanban",
74+
// canActivate: [KanbanBoardGuard],
75+
// component: KanbanComponent,
76+
// resolve: { data: KanbanBoardResolver },
77+
// loadChildren: () => import("../kanban/kanban.routes").then(c => c.KANBAN_ROUTES),
78+
// runGuardsAndResolvers: "always",
79+
// },
8080
{
8181
path: "chat",
8282
component: ProjectChatComponent,

0 commit comments

Comments
 (0)