feat: add lazy loading to character images in admin character list
All checks were successful
Build Docker Image / build (push) Successful in 1m19s
All checks were successful
Build Docker Image / build (push) Successful in 1m19s
This commit is contained in:
@@ -340,6 +340,7 @@
|
|||||||
<img
|
<img
|
||||||
src={char.displayValues.pictureUrl}
|
src={char.displayValues.pictureUrl}
|
||||||
alt={char.displayValues.name}
|
alt={char.displayValues.name}
|
||||||
|
loading="lazy"
|
||||||
class="h-10 w-10 rounded-full object-cover"
|
class="h-10 w-10 rounded-full object-cover"
|
||||||
/>
|
/>
|
||||||
{:else}
|
{:else}
|
||||||
@@ -353,6 +354,7 @@
|
|||||||
<img
|
<img
|
||||||
src={char.displayValues.pictureUrl}
|
src={char.displayValues.pictureUrl}
|
||||||
alt={char.displayValues.name}
|
alt={char.displayValues.name}
|
||||||
|
loading="lazy"
|
||||||
class="h-10 w-10 flex-shrink-0 rounded-full object-cover"
|
class="h-10 w-10 flex-shrink-0 rounded-full object-cover"
|
||||||
/>
|
/>
|
||||||
{:else}
|
{:else}
|
||||||
|
|||||||
Reference in New Issue
Block a user