Disable users on items for now
This commit is contained in:
@@ -40,6 +40,9 @@ export const TodoItem: FC<TodoItemProps> = (props) => {
|
||||
{props.todo.description && (
|
||||
<div className="h-3 w-3 bg-gray-100 dark:border-black border border-gray-300 dark:bg-gray-900 rounded-sm" />
|
||||
)}
|
||||
{!props.todo.authorId && (
|
||||
<div className="h-3 w-3 bg-red-500 rounded-sm" />
|
||||
)}
|
||||
</div>
|
||||
{props.displayProject && props.todo.project && (
|
||||
<div className="text-gray-500 text-xs text-right whitespace-nowrap place-self-end">
|
||||
|
@@ -12,6 +12,7 @@ export interface Todo {
|
||||
description?: string;
|
||||
status: StatusState;
|
||||
project?: string;
|
||||
authorId?: string;
|
||||
}
|
||||
|
||||
export const asTodo = (item: Todo): Todo => {
|
||||
|
Reference in New Issue
Block a user