diff --git a/web/app/components/workflow/skill/file-tree/artifacts-section.tsx b/web/app/components/workflow/skill/file-tree/artifacts-section.tsx index b74b086f0b..555febac1d 100644 --- a/web/app/components/workflow/skill/file-tree/artifacts-section.tsx +++ b/web/app/components/workflow/skill/file-tree/artifacts-section.tsx @@ -2,7 +2,7 @@ import type { FC } from 'react' import type { SandboxFileTreeNode } from '@/types/sandbox-file' -import { RiArrowDownSLine, RiArrowRightSLine } from '@remixicon/react' +import { RiArrowDownSLine, RiArrowRightSLine, RiLoader2Line } from '@remixicon/react' import * as React from 'react' import { useCallback, useState } from 'react' import { useTranslation } from 'react-i18next' @@ -44,6 +44,7 @@ const ArtifactsSection: FC = ({ className }) => { }, [downloadMutation]) const showBlueDot = !isExpanded && hasFiles + const showSpinner = isLoading return (
@@ -68,40 +69,40 @@ const ArtifactsSection: FC = ({ className }) => {
- {showBlueDot && ( -
- )} - {isExpanded - ?