Compare commits
2 Commits
90da4b592a
...
0dd4bcc7fe
| Author | SHA1 | Date |
|---|---|---|
|
|
0dd4bcc7fe | |
|
|
b9c1c9914d |
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "traxxx-web",
|
||||
"version": "0.41.8",
|
||||
"version": "0.41.9",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "0.41.8",
|
||||
"version": "0.41.9",
|
||||
"dependencies": {
|
||||
"@brillout/json-serializer": "^0.5.8",
|
||||
"@dicebear/collection": "^7.0.5",
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
"overrides": {
|
||||
"vite": "$vite"
|
||||
},
|
||||
"version": "0.41.8",
|
||||
"version": "0.41.9",
|
||||
"imports": {
|
||||
"#/*": "./*.js"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,11 +102,12 @@ const profile = ref(pageContext.pageProps.profile);
|
|||
const now = new Date();
|
||||
|
||||
const mockupRelease = {
|
||||
id: 1,
|
||||
id: 0,
|
||||
title: 'Nut For Human Consumption',
|
||||
url: 'https://traxxx.me/scene/0/nut-for-human-consumption',
|
||||
date: now,
|
||||
effectiveDate: now,
|
||||
createdAt: new Date(2024, 0, 1),
|
||||
createdAt: new Date(now.getFullYear(), 0, 1),
|
||||
actors: [
|
||||
{
|
||||
name: 'Chanel Chakra',
|
||||
|
|
@ -125,7 +126,7 @@ const mockupRelease = {
|
|||
{ name: 'facial' },
|
||||
],
|
||||
movies: [{
|
||||
title: 'Best Of Traxxx 23',
|
||||
title: `Best Of Traxxx ${String(now.getFullYear()).slice(2)}`,
|
||||
}],
|
||||
channel: {
|
||||
name: 'Traxxxed',
|
||||
|
|
|
|||
|
|
@ -78,6 +78,10 @@ function traverseTemplate(chain, release, { delimit = ' ' } = {}) {
|
|||
return result;
|
||||
}
|
||||
|
||||
if (item.text) {
|
||||
return result.concat(curateValue(item.text, item));
|
||||
}
|
||||
|
||||
if (keys) {
|
||||
const value = keys.split('|').reduce((acc, key) => acc
|
||||
|| propProcessors[key]?.(release, typeof item === 'string' ? { key } : item)
|
||||
|
|
|
|||
Loading…
Reference in New Issue