Improved actor entity and entry ID storage.
This commit is contained in:
@@ -16,13 +16,13 @@
|
||||
>{{ actor.name }}</span>
|
||||
|
||||
<router-link
|
||||
v-if="actor.network"
|
||||
v-tooltip="actor.network.name"
|
||||
:to="{ name: 'network', params: { networkSlug: actor.network.slug } }"
|
||||
v-if="actor.entity"
|
||||
v-tooltip="actor.entity.name"
|
||||
:to="{ name: actor.entity.type, params: { entitySlug: actor.entity.slug, range: 'new', pageNumber: 1 } }"
|
||||
class="favicon"
|
||||
>
|
||||
<img
|
||||
:src="`/img/logos/${actor.network.slug}/favicon.png`"
|
||||
:src="`/img/logos/${actor.entity.slug}/favicon_dark.png`"
|
||||
class="favicon-icon"
|
||||
>
|
||||
</router-link>
|
||||
|
||||
@@ -61,7 +61,7 @@ const actorFields = `
|
||||
lazy
|
||||
}
|
||||
}
|
||||
network: entity {
|
||||
entity {
|
||||
id
|
||||
name
|
||||
slug
|
||||
|
||||
Reference in New Issue
Block a user