update server error response and lazy load img
This commit is contained in:
parent
36c71eda38
commit
59407840cd
3 changed files with 7 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<p>dashboard works!</p>
|
||||
<div *ngIf="userInfo">
|
||||
<img [src]="userInfo.image" />
|
||||
<img [src]="userInfo.image" loading="lazy" />
|
||||
<p>Hi {{ userInfo.username }}</p>
|
||||
<p>Your email is {{ userInfo.email }}</p>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue