Compare commits

..

2 Commits

4 changed files with 6 additions and 5 deletions

4
package-lock.json generated
View File

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

View File

@ -86,7 +86,7 @@
"overrides": { "overrides": {
"vite": "$vite" "vite": "$vite"
}, },
"version": "0.39.7", "version": "0.39.8",
"imports": { "imports": {
"#/*": "./*.js" "#/*": "./*.js"
} }

2
static

@ -1 +1 @@
Subproject commit ee6b2e5a5b28a5a0378307a2f3cb8896cf11e12b Subproject commit aeef9c536d4b821f0d20260624e7024060f2f2b0

View File

@ -51,12 +51,13 @@ const propProcessors = {
return format(sceneInfo.effectiveDate, dateFormat); return format(sceneInfo.effectiveDate, dateFormat);
} }
return ''; return null;
}, },
}; };
function curateValue(value, item) { function curateValue(value, item) {
return [].concat(value) // account for both arrays (actors, tags) and strings (title, channel) return [].concat(value) // account for both arrays (actors, tags) and strings (title, channel)
.filter((listValue) => !!listValue)
.slice(0, item.limit || Infinity) .slice(0, item.limit || Infinity)
.map((listValue) => (item.slugify ? slugify(listValue, item.slugify) : listValue)) .map((listValue) => (item.slugify ? slugify(listValue, item.slugify) : listValue))
.map((listValue) => ellipsis(listValue, item.slice || Infinity, item.ellipsis || '')) .map((listValue) => ellipsis(listValue, item.slice || Infinity, item.ellipsis || ''))