make feedback title optional
All checks were successful
delpoy / build-and-deploy (push) Successful in 54s

This commit is contained in:
2024-12-27 19:00:22 +01:00
parent 1596fb605e
commit 8d8b1c52c0
8 changed files with 40 additions and 13 deletions

View File

@ -12,7 +12,7 @@ export const load: PageServerLoad = async ({ params }) => {
return {
draft: feedback.content === null,
event: feedback.event,
title: feedback.title,
anonymous: feedback.user_id === null
};
};