Skip to content

Commit e457292

Browse files
committed
fix build
1 parent 5109a55 commit e457292

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

projects/skills/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class AppComponent implements OnInit {
5757
navItems = [
5858
{ name: "Мой профиль", icon: "person", link: "profile" },
5959
{ name: "Рейтинг", icon: "growth", link: "rating" },
60-
{ name: "Траектории", icon: "receipt", link: "trackCar" },
60+
// { name: "Траектории", icon: "receipt", link: "trackCar" },
6161
];
6262

6363
// Реактивное состояние с использованием Angular signals

projects/skills/src/app/trajectories/track-career/detail/info/info.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@if (userTrajectory()?.availableSkills; as availableSkills) {
2424
<div class="trajectory__skills">
2525
@for (skill of availableSkills; track skill.id) {
26-
<app-skill-card [skill]="skill"></app-skill-card>
26+
<!-- <app-skill-card [skill]="skill"></app-skill-card> -->
2727
}
2828
</div>
2929
}

projects/skills/src/app/trajectories/track-career/detail/info/info.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import type { Trajectory, UserTrajectory } from "projects/skills/src/models/traj
2020
import { TrajectoriesService } from "../../../trajectories.service";
2121
import { BreakpointObserver } from "@angular/cdk/layout";
2222
import { SoonCardComponent } from "@office/shared/soon-card/soon-card.component";
23-
import { SkillCardComponent } from "projects/skills/src/app/shared/skill-card/skill-card.component";
23+
// import { SkillCardComponent } from "projects/skills/src/app/shared/skill-card/skill-card.component";
2424
import { ModalComponent } from "@ui/components/modal/modal.component";
2525
import { ButtonComponent } from "@ui/components";
2626

@@ -44,7 +44,7 @@ import { ButtonComponent } from "@ui/components";
4444
ParseLinksPipe,
4545
CommonModule,
4646
SoonCardComponent,
47-
SkillCardComponent,
47+
// SkillCardComponent,
4848
ModalComponent,
4949
ButtonComponent,
5050
],
@@ -83,7 +83,7 @@ export class TrajectoryInfoComponent implements OnInit, AfterViewInit {
8383
this.route.parent?.data.pipe(map(r => r["data"])).subscribe(r => {
8484
this.trajectory = r[0];
8585
this.userTrajectory.set({ ...r[1], individualSkills: r[2] });
86-
this.isCompleteModule.set(this.userTrajectory()!.completedSkills.some(skill => skill.isDone));
86+
// this.isCompleteModule.set(this.userTrajectory()!.completedSkills.some(skill => skill.isDone));
8787
});
8888
}
8989

projects/skills/src/app/trajectories/track-career/detail/trajectory-detail.routes.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ export const TRAJECTORY_DETAIL_ROUTES = [
1818
path: "",
1919
component: TrajectoryInfoComponent,
2020
},
21-
{
22-
path: "task",
23-
loadChildren: () => import("../../../task/task.routes").then(m => m.TASK_ROUTES),
24-
},
21+
// {
22+
// path: "task",
23+
// loadChildren: () => import("../../../task/task.routes").then(m => m.TASK_ROUTES),
24+
// },
2525
],
2626
},
2727
];

0 commit comments

Comments
 (0)