Added status tracking & episode due dates
Deploy / deploy (push) Failing after 2m30s

This commit is contained in:
twotalesanimation
2026-06-03 14:49:12 +02:00
parent 15046892d1
commit e75a15132e
12 changed files with 915 additions and 25 deletions
+3 -1
View File
@@ -106,11 +106,12 @@ async function getTeamMembers() {
export default async function ProjectPage({ params }: { params: Promise<{ id: string }> }) {
const { id } = await params;
const session = await auth();
const [project, artists, clients, teamMembers] = await Promise.all([
const [project, artists, clients, teamMembers, episodeDueDates] = await Promise.all([
getProject(id),
getProjectArtists(),
getClients(),
getTeamMembers(),
db.episodeDueDate.findMany({ where: { projectId: id }, orderBy: { episode: "asc" } }),
]);
if (!project) notFound();
@@ -208,6 +209,7 @@ export default async function ProjectPage({ params }: { params: Promise<{ id: st
tasks={project.tasks as any}
artists={artists}
shotGroups={project.shotGroups}
episodeDueDates={episodeDueDates}
canManage={!!canManage}
/>
</div>