mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-22 07:31:05 +08:00
fix(web): avoid flashing empty state when returning to agent list (#17118)
This commit is contained in:
@@ -30,6 +30,7 @@ import { useRenameAgent } from './use-rename-agent';
|
||||
export default function Agents() {
|
||||
const {
|
||||
data,
|
||||
loading: listLoading,
|
||||
pagination,
|
||||
setPagination,
|
||||
searchString,
|
||||
@@ -170,6 +171,8 @@ export default function Agents() {
|
||||
</div>
|
||||
)}
|
||||
</article>
|
||||
) : listLoading ? (
|
||||
<article className="size-full" data-testid="agents-list"></article>
|
||||
) : (
|
||||
<article
|
||||
className="size-full flex items-center justify-center"
|
||||
|
||||
Reference in New Issue
Block a user