Skip to content

Commit

Permalink
Hiding conversation-window for messages from sislog (#1374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Angamanga authored Oct 8, 2024
1 parent 36c194f commit e502bba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="page-content post-conversation">
//TODO: remove *ngIf="source !== 'sislog'" once reply is working
<div class="page-content post-conversation" *ngIf="source !== 'sislog'">
<ng-container>
<h2>{{ 'post.messages.title' | translate }}</h2>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ export class PostConversationComponent implements OnInit {
public messageLimit: number = 5;
public newMessage = new FormControl();
public sender: string;
public source: string;

constructor(private messagesService: MessagesService, private sessionService: SessionService) {}

ngOnInit(): void {
this.source = this.post?.contact?.data_source;
this.getMessagesData();
this.getSender();
}
Expand Down

0 comments on commit e502bba

Please sign in to comment.