diff --git a/projects/social_platform/src/app/auth/set-password/set-password.component.scss b/projects/social_platform/src/app/auth/set-password/set-password.component.scss index 31146576f..f007f8881 100644 --- a/projects/social_platform/src/app/auth/set-password/set-password.component.scss +++ b/projects/social_platform/src/app/auth/set-password/set-password.component.scss @@ -3,3 +3,11 @@ margin-bottom: 24px; } } + +.error { + color: var(--red) !important; + + i { + color: var(--red) !important; + } +} diff --git a/projects/social_platform/src/app/office/features/detail/detail.component.ts b/projects/social_platform/src/app/office/features/detail/detail.component.ts index 961be05ce..28199868a 100644 --- a/projects/social_platform/src/app/office/features/detail/detail.component.ts +++ b/projects/social_platform/src/app/office/features/detail/detail.component.ts @@ -157,7 +157,9 @@ export class DeatilComponent implements OnInit, OnDestroy { } get isProjectAssigned() { - return !!this.memberProjects.find(project => project.leader === this.profile?.id); + return !!this.memberProjects.find( + project => project.leader === this.profile?.id && project.partnerProgram + ); } // Методы для управления состоянием ошибок через сервис diff --git a/projects/social_platform/src/app/office/features/info-card/info-card.component.html b/projects/social_platform/src/app/office/features/info-card/info-card.component.html index 3b9e44ad3..1be60a295 100644 --- a/projects/social_platform/src/app/office/features/info-card/info-card.component.html +++ b/projects/social_platform/src/app/office/features/info-card/info-card.component.html @@ -169,7 +169,16 @@ }
- } } + } } @else { +{{ feedItem.name }}
++ {{ feedItem.name.length > 30 ? feedItem.name.slice(0, 26) + "..." : feedItem.name }} +
@if (isOwner) {