|
|
|
|
@ -48,6 +48,8 @@ const Tasks = React.memo(({ items, canEdit, onCreate, onUpdate, onMove, onDelete
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
{items.length > 0 && (
|
|
|
|
|
<>
|
|
|
|
|
<span className={styles.progressWrapper}>
|
|
|
|
|
<Progress
|
|
|
|
|
autoSuccess
|
|
|
|
|
value={completedItems.length}
|
|
|
|
|
@ -56,6 +58,11 @@ const Tasks = React.memo(({ items, canEdit, onCreate, onUpdate, onMove, onDelete
|
|
|
|
|
size="tiny"
|
|
|
|
|
className={styles.progress}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
<span className={styles.count}>
|
|
|
|
|
{completedItems.length}/{items.length}
|
|
|
|
|
</span>
|
|
|
|
|
</>
|
|
|
|
|
)}
|
|
|
|
|
<DragDropContext onDragStart={handleDragStart} onDragEnd={handleDragEnd}>
|
|
|
|
|
<Droppable droppableId="tasks" type={DroppableTypes.TASK}>
|
|
|
|
|
|