fix path to icon general room
This commit is contained in:
parent
685a00db49
commit
c6716d9280
3 changed files with 2 additions and 2 deletions
|
|
@ -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/group.png" height="25" width="25"/>
|
||||
<p class="username">General</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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"><p class="username">General</p></div>';
|
||||
document.getElementById('userList').innerHTML = '<div class="user-card"><img src="../../assets/image/group.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'){
|
||||
|
|
|
|||
BIN
frontend/src/assets/image/group.png
Normal file
BIN
frontend/src/assets/image/group.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 166 KiB |
Reference in a new issue