Compare commits
2 Commits
47a748c623
...
05a93293fe
| Author | SHA1 | Date | |
|---|---|---|---|
| 05a93293fe | |||
| 117923ff1d |
@@ -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
4
package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
"overrides": {
|
||||
"vite": "$vite"
|
||||
},
|
||||
"version": "0.41.14",
|
||||
"version": "0.41.15",
|
||||
"imports": {
|
||||
"#/*": "./*.js"
|
||||
}
|
||||
|
||||
2
static
2
static
Submodule static updated: 7a1984e194...390681c7b1
Reference in New Issue
Block a user