Compare commits

..

No commits in common. "ec33a8b5a99c40048d0fea97136ebe8005e4ad73" and "8b5eada088207ea06b1c1c88489e51acbb47322f" have entirely different histories.

3 changed files with 14 additions and 6 deletions

View File

@ -41,9 +41,9 @@
/>
</span>
<RouterLink
:to="hasScrolled ? '' : { name: 'actor', params: { actorId: actor.id, actorSlug: actor.slug } }"
<a
class="avatar-container"
@click="goToActor"
>
<img
v-if="actor.avatar"
@ -130,7 +130,7 @@
class="country"
/>
</span>
</RouterLink>
</a>
</div>
</div>
</template>
@ -138,6 +138,13 @@
<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;
@ -208,6 +215,7 @@ export default {
methods: {
stashActor,
unstashActor,
goToActor,
},
};
</script>

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.231.28",
"version": "1.231.27",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.231.28",
"version": "1.231.27",
"license": "ISC",
"dependencies": {
"@casl/ability": "^5.2.2",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.231.28",
"version": "1.231.27",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {