Compare commits

..

No commits in common. "251c3964bdc2387a3e6531a5f559041851b5e004" and "696eb9a9d0e7241dac17a84f70c376ec3da513a8" have entirely different histories.

3 changed files with 3 additions and 9 deletions

View File

@ -6,7 +6,7 @@
<Scroll <Scroll
v-slot="slotProps" v-slot="slotProps"
class="scroll-light banner" class="scroll-light banner"
:style="{ 'background-image': bannerBackground }" :style="{ 'background-image': release.poster && `url(/media/${release.poster.thumbnail})` }"
:expandable="false" :expandable="false"
> >
<Banner <Banner
@ -219,11 +219,6 @@ async function fetchRelease() {
} }
} }
function bannerBackground() {
return (this.release.poster && `url(/media/${this.release.poster.thumbnail})`)
|| (this.release.covers.length > 0 && `url(/media/${this.release.covers[0].thumbnail})`);
}
function pageTitle() { function pageTitle() {
return this.release return this.release
&& (this.release.title && (this.release.title
@ -249,7 +244,6 @@ export default {
}, },
computed: { computed: {
pageTitle, pageTitle,
bannerBackground,
}, },
watch: { watch: {
$route: fetchRelease, $route: fetchRelease,

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "traxxx", "name": "traxxx",
"version": "1.161.8", "version": "1.161.7",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

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