fix path to icon general room
This commit is contained in:
parent
c6716d9280
commit
737b284865
3 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div #userList class="user-list-card" id="userList" (click)="selectRoom($event)">
|
<div #userList class="user-list-card" id="userList" (click)="selectRoom($event)">
|
||||||
<div class="user-card">
|
<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>
|
<p class="username">General</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ export class PrivateComponent implements OnInit {
|
||||||
this.roomSelected = 'general';
|
this.roomSelected = 'general';
|
||||||
this.privateRoomActivate = false;
|
this.privateRoomActivate = false;
|
||||||
// @ts-ignore
|
// @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(
|
this.messageservice.sendMessage(environment.urlCL,'getUsers', {username: this.username}).subscribe(
|
||||||
data => {
|
data => {
|
||||||
if (data.status !== 'ok'){
|
if (data.status !== 'ok'){
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 166 KiB |
Reference in a new issue