Added favorite stash heart to scene tiles.
This commit is contained in:
@@ -52,14 +52,14 @@
|
||||
</h2>
|
||||
|
||||
<Icon
|
||||
v-show="me && isStashed"
|
||||
v-show="me && release.isStashed"
|
||||
icon="heart7"
|
||||
class="stash stashed noselect"
|
||||
@click="unstashScene"
|
||||
/>
|
||||
|
||||
<Icon
|
||||
v-show="me && !isStashed"
|
||||
v-show="me && !release.isStashed"
|
||||
icon="heart8"
|
||||
class="stash unstashed noselect"
|
||||
@click="stashScene"
|
||||
@@ -275,10 +275,6 @@ function me() {
|
||||
return this.$store.state.auth.user;
|
||||
}
|
||||
|
||||
function isStashed() {
|
||||
return this.release.stashes?.length > 0;
|
||||
}
|
||||
|
||||
function bannerBackground() {
|
||||
return (this.release.poster && this.getBgPath(this.release.poster, 'thumbnail'))
|
||||
|| (this.release.covers.length > 0 && this.getBgPath(this.release.covers[0], 'thumbnail'));
|
||||
@@ -313,7 +309,6 @@ export default {
|
||||
computed: {
|
||||
pageTitle,
|
||||
bannerBackground,
|
||||
isStashed,
|
||||
me,
|
||||
showAlbum,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user