Compare commits
2 Commits
47a748c623
...
05a93293fe
| Author | SHA1 | Date |
|---|---|---|
|
|
05a93293fe | |
|
|
117923ff1d |
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="stash">
|
<div class="stash">
|
||||||
<div class="stash-header">
|
<div class="stash-header">
|
||||||
<a
|
<a
|
||||||
:href="`/stash/${profile.username}/${stash.slug}`"
|
:href="`/stash/${profile.username}/${stash.slug}/${primaryDomain}`"
|
||||||
class="stash-name ellipsis nolink"
|
class="stash-name ellipsis nolink"
|
||||||
>
|
>
|
||||||
<span class="ellipsis">{{ stash.name }}</span>
|
<span class="ellipsis">{{ stash.name }}</span>
|
||||||
|
|
@ -151,6 +151,14 @@ const stashNameInput = ref(null);
|
||||||
const showRenameDialog = ref(false);
|
const showRenameDialog = ref(false);
|
||||||
const done = ref(true);
|
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) {
|
async function setPublic(isPublic) {
|
||||||
if (done.value === false) {
|
if (done.value === false) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx-web",
|
"name": "traxxx-web",
|
||||||
"version": "0.41.14",
|
"version": "0.41.15",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"version": "0.41.14",
|
"version": "0.41.15",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@brillout/json-serializer": "^0.5.8",
|
"@brillout/json-serializer": "^0.5.8",
|
||||||
"@dicebear/collection": "^7.0.5",
|
"@dicebear/collection": "^7.0.5",
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"vite": "$vite"
|
"vite": "$vite"
|
||||||
},
|
},
|
||||||
"version": "0.41.14",
|
"version": "0.41.15",
|
||||||
"imports": {
|
"imports": {
|
||||||
"#/*": "./*.js"
|
"#/*": "./*.js"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
static
2
static
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7a1984e194a90987e906dabbec26ada28a400a3c
|
Subproject commit 390681c7b13ebf2701757804a09a788f2ad9f712
|
||||||
Loading…
Reference in New Issue