From 157f093e474c856fcc7dbfff29fe9806f1dc809d Mon Sep 17 00:00:00 2001 From: Artem Date: Mon, 24 Mar 2025 13:34:56 +0300 Subject: [PATCH 1/2] remove redirect --- projects/skills/src/app/app.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/skills/src/app/app.component.ts b/projects/skills/src/app/app.component.ts index 772167f3f..56794a563 100644 --- a/projects/skills/src/app/app.component.ts +++ b/projects/skills/src/app/app.component.ts @@ -51,14 +51,14 @@ export class AppComponent implements OnInit { this.profileService.getUserData().subscribe({ next: data => this.userData.set(data as UserData), error: () => { - location.href = "https://app.procollab.ru/auth/login"; + // location.href = "https://app.procollab.ru/auth/login"; }, }); this.profileService.syncProfile().subscribe({ next: () => {}, error: () => { - location.href = "https://app.procollab.ru/auth/login"; + // location.href = "https://app.procollab.ru/auth/login"; }, }); } From ffd5bc6361aab6159c5e2c21855229833788aa3e Mon Sep 17 00:00:00 2001 From: Artem Date: Mon, 24 Mar 2025 13:50:28 +0300 Subject: [PATCH 2/2] remove comms --- projects/skills/src/app/app.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/skills/src/app/app.component.ts b/projects/skills/src/app/app.component.ts index 56794a563..772167f3f 100644 --- a/projects/skills/src/app/app.component.ts +++ b/projects/skills/src/app/app.component.ts @@ -51,14 +51,14 @@ export class AppComponent implements OnInit { this.profileService.getUserData().subscribe({ next: data => this.userData.set(data as UserData), error: () => { - // location.href = "https://app.procollab.ru/auth/login"; + location.href = "https://app.procollab.ru/auth/login"; }, }); this.profileService.syncProfile().subscribe({ next: () => {}, error: () => { - // location.href = "https://app.procollab.ru/auth/login"; + location.href = "https://app.procollab.ru/auth/login"; }, }); }