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

This commit is contained in:
2025-03-24 00:04:38 +01:00
parent 3bb96c3433
commit 95008f9815
3 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -87,10 +87,14 @@ const domain = pageContext.routeParams.domain;
const user = pageContext.user; const user = pageContext.user;
const profile = ref(pageContext.pageProps.profile); const profile = ref(pageContext.pageProps.profile);
const now = new Date();
const mockupRelease = { const mockupRelease = {
id: 1, id: 1,
title: 'Nut For Human Consumption', title: 'Nut For Human Consumption',
effectiveDate: new Date(), date: now,
effectiveDate: now,
createdAt: new Date(2024, 0, 1),
actors: [ actors: [
{ {
name: 'Chanel Chakra', name: 'Chanel Chakra',
+1 -1
Submodule static updated: aeef9c536d...75b0bfabb3
+1
View File
@@ -53,6 +53,7 @@ const propProcessors = {
return null; return null;
}, },
createdAt: (sceneInfo, options) => format(sceneInfo.createdAt, options.format || 'yyyy-MM-dd'),
}; };
function curateValue(value, item) { function curateValue(value, item) {