Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 05a93293fe 0.41.15 2025-11-21 04:40:12 +01:00
DebaucheryLibrarian 117923ff1d Linked stash tile header to largest stash. 2025-11-21 04:40:10 +01:00
4 changed files with 13 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<div class="stash">
<div class="stash-header">
<a
:href="`/stash/${profile.username}/${stash.slug}`"
:href="`/stash/${profile.username}/${stash.slug}/${primaryDomain}`"
class="stash-name ellipsis nolink"
>
<span class="ellipsis">{{ stash.name }}</span>
@ -151,6 +151,14 @@ const stashNameInput = ref(null);
const showRenameDialog = ref(false);
const done = ref(true);
const domainCounts = {
scenes: props.stash.stashedScenes,
actors: props.stash.stashedActors,
movies: props.stash.stashedMovies,
};
const primaryDomain = Object.entries(domainCounts).toSorted((domainA, domainB) => domainB[1] - domainA[1])[0][0];
async function setPublic(isPublic) {
if (done.value === false) {
return;

4
package-lock.json generated
View File

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

View File

@ -87,7 +87,7 @@
"overrides": {
"vite": "$vite"
},
"version": "0.41.14",
"version": "0.41.15",
"imports": {
"#/*": "./*.js"
}

2
static

@ -1 +1 @@
Subproject commit 7a1984e194a90987e906dabbec26ada28a400a3c
Subproject commit 390681c7b13ebf2701757804a09a788f2ad9f712