Show prettified entity type when hover the entity icon.

This commit is contained in:
Fabio Manganiello 2023-05-01 01:20:31 +02:00
parent 7906ee2c49
commit de84a65a22
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -1,6 +1,7 @@
<template>
<div class="entity-icon-container"
: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-circle-exclamation error" v-else-if="error" />
@ -10,10 +11,12 @@
<script>
import Icon from "@/components/elements/Icon";
import Utils from "@/Utils"
export default {
name: "EntityIcon",
components: {Icon},
mixins: [Utils],
props: {
loading: {
type: Boolean,