6.16.5: Оптимизация выполнения задачи
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 1m39s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
poignatov
2026-03-15 13:14:25 +03:00
parent 7889922d9b
commit 95985f97f2
6 changed files with 135 additions and 70 deletions

View File

@@ -1325,7 +1325,13 @@ function AppContent() {
backgroundLoading={tasksBackgroundLoading}
error={tasksError}
onRetry={() => fetchTasksData(false)}
onRefresh={(isBackground = false) => fetchTasksData(isBackground)}
onRefresh={(tasksOrBackground) => {
if (Array.isArray(tasksOrBackground)) {
setTasksData(tasksOrBackground)
} else {
fetchTasksData(tasksOrBackground === true)
}
}}
/>
</div>
</div>