Skip to content

Commit

Permalink
FIX #1819 (#1841)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmartyrk authored Jan 31, 2025
1 parent 83c9b46 commit bec1247
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="member_info">
<div class="bold user_name">{{member.name}}</div>
<div class="via">
<span *ngIf="member.email">
<span *ngIf="withEmail && member.email">
{{member.email}}
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class TopicMemberUserComponent implements OnInit {
@Input() member?: TopicMemberUser | any;
@Input() topic: Topic | any;
@Input() fields?: any;
@Input() withEmail?: boolean = true;

userLevels = Object.keys(this.TopicService.LEVELS)
constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h4 class="title" translate="MODALS.TOPIC_MEMBERS_HEADING"></h4>
</div>
<ng-container *ngFor="let user of memberUsers; index as i;">
<div class="row_list">
<topic-member-user [member]="user" [topic]="topic"></topic-member-user>
<topic-member-user [member]="user" [topic]="topic" [withEmail]="false"></topic-member-user>
</div>
</ng-container>
</div>
Expand Down

0 comments on commit bec1247

Please sign in to comment.