linkify type headings
parent
5953c733cf
commit
706aba0ffe
|
@ -14,8 +14,10 @@
|
|||
:key="typeAddr"
|
||||
>
|
||||
<h3>
|
||||
<sl-icon v-if="types[typeAddr].icon" :name="types[typeAddr].icon" />
|
||||
{{ types[typeAddr]?.name || "???" }}
|
||||
<up-link :to="{ entity: typeAddr }">
|
||||
<sl-icon v-if="types[typeAddr].icon" :name="types[typeAddr].icon" />
|
||||
{{ types[typeAddr]?.name || "???" }}
|
||||
</up-link>
|
||||
</h3>
|
||||
<AttributeView
|
||||
:address="address"
|
||||
|
@ -69,6 +71,7 @@ import Address from "@/components/Address.vue";
|
|||
import AttributeView from "@/components/AttributeView.vue";
|
||||
import BlobPreview from "@/components/BlobPreview.vue";
|
||||
import Marquee from "@/components/Marquee.vue";
|
||||
import UpLink from "@/components/UpLink.vue";
|
||||
import { query, useEntity } from "@/lib/entity";
|
||||
import { UpType } from "@/lib/types";
|
||||
import { IEntry } from "@/types/base";
|
||||
|
@ -81,6 +84,7 @@ export default defineComponent({
|
|||
BlobPreview,
|
||||
Marquee,
|
||||
AttributeView,
|
||||
UpLink,
|
||||
},
|
||||
props: {
|
||||
address: {
|
||||
|
@ -236,6 +240,10 @@ export default defineComponent({
|
|||
margin-bottom: -2px;
|
||||
}
|
||||
}
|
||||
|
||||
&.typed-attribute-list h3 a {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.error {
|
||||
|
|
Loading…
Reference in New Issue