fix path to icon general room

This commit is contained in:
vankhaiphan 2021-06-06 10:07:19 +02:00
parent c6716d9280
commit 737b284865
3 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
</div>
<div #userList class="user-list-card" id="userList" (click)="selectRoom($event)">
<div class="user-card">
<img src="../../assets/image/group.png" height="25" width="25"/>
<img src="../../assets/image/general.png" height="25" width="25" />
<p class="username">General</p>
</div>
</div>

View file

@ -61,7 +61,7 @@ export class PrivateComponent implements OnInit {
this.roomSelected = 'general';
this.privateRoomActivate = false;
// @ts-ignore
document.getElementById('userList').innerHTML = '<div class="user-card"><img src="../../assets/image/group.png" height="25" width="25"/><p class="username">General</p></div>';
document.getElementById('userList').innerHTML = '<div class="user-card"><img src="../../assets/image/general.png" height="25" width="25"/><p class="username">General</p></div>';
this.messageservice.sendMessage(environment.urlCL,'getUsers', {username: this.username}).subscribe(
data => {
if (data.status !== 'ok'){

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB