diff --git a/src/backend/server/src/Todo.Core/Application/Queries/Todos/GetTodoByIdQuery.cs b/src/backend/server/src/Todo.Core/Application/Queries/Todos/GetTodoByIdQuery.cs index 7653ab4..51923a0 100644 --- a/src/backend/server/src/Todo.Core/Application/Queries/Todos/GetTodoByIdQuery.cs +++ b/src/backend/server/src/Todo.Core/Application/Queries/Todos/GetTodoByIdQuery.cs @@ -24,8 +24,8 @@ public record GetTodoByIdQuery([Required] string TodoId) : IRequest = (props) => { {props.todo.description && (
)} + {!props.todo.authorId && ( +
+ )}
{props.displayProject && props.todo.project && (
diff --git a/src/client/src/core/entities/todo.tsx b/src/client/src/core/entities/todo.tsx index b2204f6..4d60ca3 100644 --- a/src/client/src/core/entities/todo.tsx +++ b/src/client/src/core/entities/todo.tsx @@ -12,6 +12,7 @@ export interface Todo { description?: string; status: StatusState; project?: string; + authorId?: string; } export const asTodo = (item: Todo): Todo => {