tweak email template model, fix EventLog content size, etc...

This commit is contained in:
Dobromir Popov
2024-04-19 17:04:25 +03:00
parent 54472ad8f2
commit 02c0c420b5
5 changed files with 8 additions and 7 deletions

View File

@ -205,7 +205,7 @@ export const getServerSideProps = async (context) => {
},
});
const assignments = publisher?.assignments || [];
const assignments = publisher?.assignments.filter(assignment => assignment.shift.startTime >= lastSunday) || [];
const transformedAssignments = assignments?.map(assignment => {
if (assignment.shift && assignment.shift.startTime) {