mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-02 06:13:16 +00:00
fix: prevent unnecessary loading state in TaskListSidebar during thread re-fetch (#128)
* Apply patch * cr
This commit is contained in:
parent
38fc7f9cbd
commit
13518b7269
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ export default function TaskListSidebar({ onCollapse }: TaskListSidebarProps) {
|
|||
</div>
|
||||
|
||||
<div className="flex-1 overflow-hidden">
|
||||
{threadsLoading ? (
|
||||
{threadsLoading && threads.length === 0 ? (
|
||||
<div className="flex h-full items-center justify-center">
|
||||
<div className="text-center text-gray-500">
|
||||
<Archive className="mx-auto mb-2 h-5 w-5 animate-pulse opacity-50" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue