diff --git a/web/app/components/workflow/variable-inspect/artifacts-tab.tsx b/web/app/components/workflow/variable-inspect/artifacts-tab.tsx index afdd2688ef..41235d1137 100644 --- a/web/app/components/workflow/variable-inspect/artifacts-tab.tsx +++ b/web/app/components/workflow/variable-inspect/artifacts-tab.tsx @@ -1,4 +1,3 @@ -import type { FC } from 'react' import type { InspectHeaderProps } from './inspect-layout' import type { SandboxFileTreeNode } from '@/types/sandbox-file' import { @@ -19,6 +18,31 @@ import { cn } from '@/utils/classnames' import InspectLayout from './inspect-layout' import SplitPanel from './split-panel' +const ArtifactsEmpty = ({ description }: { description: string }) => { + const { t } = useTranslation('workflow') + const docLink = useDocLink() + + return ( +
- {t('debug.variableInspect.tabArtifacts.selectFile')} -
+