Fixed summary editor mockup not having a release date, resulting in no date showing unless fallback is explicitly enabled.

This commit is contained in:
DebaucheryLibrarian 2025-03-24 00:04:38 +01:00
parent 3bb96c3433
commit 95008f9815
3 changed files with 7 additions and 2 deletions

View File

@ -87,10 +87,14 @@ const domain = pageContext.routeParams.domain;
const user = pageContext.user;
const profile = ref(pageContext.pageProps.profile);
const now = new Date();
const mockupRelease = {
id: 1,
title: 'Nut For Human Consumption',
effectiveDate: new Date(),
date: now,
effectiveDate: now,
createdAt: new Date(2024, 0, 1),
actors: [
{
name: 'Chanel Chakra',

2
static

@ -1 +1 @@
Subproject commit aeef9c536d4b821f0d20260624e7024060f2f2b0
Subproject commit 75b0bfabb314627472f24310557c7f2c31d109b1

View File

@ -53,6 +53,7 @@ const propProcessors = {
return null;
},
createdAt: (sceneInfo, options) => format(sceneInfo.createdAt, options.format || 'yyyy-MM-dd'),
};
function curateValue(value, item) {