forked from DebaucheryLibrarian/traxxx
Removed entity name from tag photo description and appending it dynamically.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
v-if="!lazy && !sfw"
|
||||
:src="`/img/${tag.poster.thumbnail}`"
|
||||
:style="{ 'background-image': `url(/img/${tag.poster.lazy})` }"
|
||||
:title="tag.poster.comment"
|
||||
:title="comment"
|
||||
:alt="tag.name"
|
||||
class="poster"
|
||||
>
|
||||
@@ -30,7 +30,7 @@
|
||||
v-if="lazy && !sfw"
|
||||
:src="`/img/${tag.poster.thumbnail}`"
|
||||
:style="{ 'background-image': `url(/img/${tag.poster.lazy})` }"
|
||||
:title="tag.poster.comment"
|
||||
:title="comment"
|
||||
:alt="tag.name"
|
||||
loading="lazy"
|
||||
class="poster"
|
||||
@@ -86,6 +86,11 @@ export default {
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
comment: this.tag.poster?.entity ? `${this.tag.poster.comment} for ${this.tag.poster.entity.name}` : this.tag.poster.comment,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
sfw,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user