Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 4b93ae788f 0.20.1 2024-05-31 03:49:25 +02:00
DebaucheryLibrarian db0120dcc8 Fixed summary failing if scene is not part of movie. 2024-05-31 03:49:23 +02:00
3 changed files with 4 additions and 6 deletions

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{ {
"name": "traxxx-web", "name": "traxxx-web",
"version": "0.20.0", "version": "0.20.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"version": "0.20.0", "version": "0.20.1",
"dependencies": { "dependencies": {
"@brillout/json-serializer": "^0.5.8", "@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5", "@dicebear/collection": "^7.0.5",

View File

@ -77,5 +77,5 @@
"postcss-custom-media": "^10.0.2", "postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2" "postcss-nesting": "^12.0.2"
}, },
"version": "0.20.0" "version": "0.20.1"
} }

View File

@ -285,8 +285,6 @@ const { scene } = pageProps;
const playing = ref(false); const playing = ref(false);
const paused = ref(false); const paused = ref(false);
console.log(scene);
const poster = computed(() => { const poster = computed(() => {
if (scene.poster) { if (scene.poster) {
return getPath(scene.poster, 'thumbnail'); return getPath(scene.poster, 'thumbnail');
@ -307,7 +305,7 @@ const propProcessors = {
channel: (sceneInfo) => sceneInfo.channel?.name || sceneInfo.network?.name, channel: (sceneInfo) => sceneInfo.channel?.name || sceneInfo.network?.name,
network: (sceneInfo) => sceneInfo.network?.name || sceneInfo.channel?.name, network: (sceneInfo) => sceneInfo.network?.name || sceneInfo.channel?.name,
actors: (sceneInfo) => sceneInfo.actors.map((actor) => actor.name), actors: (sceneInfo) => sceneInfo.actors.map((actor) => actor.name),
movie: (sceneInfo) => sceneInfo.movies[0].title, movie: (sceneInfo) => sceneInfo.movies[0]?.title,
date: (sceneInfo, format) => formatDate(sceneInfo.effectiveDate, format), date: (sceneInfo, format) => formatDate(sceneInfo.effectiveDate, format),
}; };