Removed entity icon loading animation.

The animation has a big impact on page loading performance when the
system includes a high number of entities that all need their loading
animation to be render.
This commit is contained in:
Fabio Manganiello 2023-05-01 09:49:34 +02:00
parent 24c6b7b377
commit 85ecdcb0cb
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -3,7 +3,7 @@
:class="{'with-color-fill': !!colorFill}"
:title="prettify(entity.type || '')"
:style="colorFillStyle">
<i class="fas fa-spinner fa-spin-pulse loading" v-if="loading" />
<i class="fas fa-spinner loading" v-if="loading" />
<i class="fas fa-circle-exclamation error" v-else-if="error" />
<Icon v-bind="computedIconNormalized" v-else />
</div>