4.20.0: Sticky заголовки проектов
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m6s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m6s
This commit is contained in:
@@ -942,7 +942,7 @@ function TaskList({ onNavigate, data, loading, backgroundLoading, error, onRetry
|
||||
title={hasCompleted ? (isCompletedExpanded ? 'Скрыть выполненные' : 'Показать выполненные') : undefined}
|
||||
>
|
||||
<h3 className={`project-group-title ${!hasNotCompleted ? 'project-group-title-empty' : ''}`}>{projectName}</h3>
|
||||
{hasCompleted && (
|
||||
{hasCompleted ? (
|
||||
<button
|
||||
className="completed-toggle-header"
|
||||
onClick={(e) => {
|
||||
@@ -955,6 +955,10 @@ function TaskList({ onNavigate, data, loading, backgroundLoading, error, onRetry
|
||||
{isCompletedExpanded ? '▼' : '▶'}
|
||||
</span>
|
||||
</button>
|
||||
) : (
|
||||
<div className="completed-toggle-header" style={{ visibility: 'hidden', pointerEvents: 'none' }}>
|
||||
<span className="completed-toggle-icon">▶</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user