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;
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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
Submodule static updated: 7a1984e194...390681c7b1
Reference in New Issue
Block a user