Skip to content

Commit ecdf48f

Browse files
committed
test add of skills service to profile
1 parent 66bb77f commit ecdf48f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

projects/social_platform/src/app/office/profile/detail/main/main.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import { ProfileService } from "@auth/services/profile.service";
4040
import { ModalComponent } from "@ui/components/modal/modal.component";
4141
import { AvatarComponent } from "../../../../ui/components/avatar/avatar.component";
4242
import { Skill } from "@office/models/skill";
43+
import { ProfileService as SkillsProfileService } from "projects/skills/src/app/profile/services/profile.service";
4344

4445
@Component({
4546
selector: "app-profile-main",
@@ -70,6 +71,7 @@ export class ProfileMainComponent implements OnInit, AfterViewInit, OnDestroy {
7071
private readonly authService: AuthService,
7172
private readonly profileNewsService: ProfileNewsService,
7273
private readonly profileApproveSkillService: ProfileService,
74+
private readonly profileSkillsService: SkillsProfileService,
7375
private readonly cdRef: ChangeDetectorRef
7476
) {}
7577

@@ -79,6 +81,8 @@ export class ProfileMainComponent implements OnInit, AfterViewInit, OnDestroy {
7981
loggedUserId: Observable<number> = this.authService.profile.pipe(map(user => user.id));
8082

8183
ngOnInit(): void {
84+
// this.profileSkillsService.getSubscriptionData().subscribe(r => console.log(r));
85+
8286
const route$ = this.route.params
8387
.pipe(
8488
map(r => r["id"]),

0 commit comments

Comments
 (0)