Compare commits

2 Commits
3 changed files with 6 additions and 14 deletions
+3 -11
View File
@@ -41,9 +41,9 @@
/>
</span>
<a
<RouterLink
:to="hasScrolled ? '' : { name: 'actor', params: { actorId: actor.id, actorSlug: actor.slug } }"
class="avatar-container"
@click="goToActor"
>
<img
v-if="actor.avatar"
@@ -130,7 +130,7 @@
class="country"
/>
</span>
</a>
</RouterLink>
</div>
</div>
</template>
@@ -138,13 +138,6 @@
<script>
import Gender from './gender.vue';
function goToActor() {
// can't seem to control behavior with RouterLink
if (!this.hasScrolled) {
this.$router.push({ name: 'actor', params: { actorId: this.actor.id, actorSlug: this.actor.slug } });
}
}
async function stashActor() {
this.favorited = true;
@@ -215,7 +208,6 @@ export default {
methods: {
stashActor,
unstashActor,
goToActor,
},
};
</script>
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.231.27",
"version": "1.231.28",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.231.27",
"version": "1.231.28",
"license": "ISC",
"dependencies": {
"@casl/ability": "^5.2.2",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.231.27",
"version": "1.231.28",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {