Skip to content

Commit 2b56859

Browse files
committed
fix ui for leader in other projects
1 parent fec6a97 commit 2b56859

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

projects/social_platform/src/app/office/features/info-card/info-card.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@
171171
</div>
172172
} }
173173
</div>
174-
} @else if (type === 'members') { @if (leaderId !== info?.userId) {
174+
} @else if (type === 'members') { @if (leaderId === loggedUserId && loggedUserId !==
175+
info?.userId) {
175176
<div class="card__info--program">
176177
<app-button
177178
customTypographyClass="text-body-6"

0 commit comments

Comments
 (0)