diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index f84d568..0000000 --- a/.drone.yml +++ /dev/null @@ -1,17 +0,0 @@ -kind: pipeline -name: default - -steps: -- name: apply ansible production - image: plugins/ansible:latest - settings: - playbook: deployment/todo-setup.yml - inventory: deployment/prod/hosts - galaxy: deployment/requirements.yml - private_key: - from_secret: ansible_private_key - verbose: 3 - when: - event: - - push - 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 => {