diff --git a/web/app/components/header/index.tsx b/web/app/components/header/index.tsx index 560d5f1eaa..2c1f3ca32e 100644 --- a/web/app/components/header/index.tsx +++ b/web/app/components/header/index.tsx @@ -42,10 +42,17 @@ const Header = () => { else setShowAccountSettingModal({ payload: ACCOUNT_SETTING_TAB.BILLING }) }, [isFreePlan, setShowAccountSettingModal, setShowPricingModal]) + const handleDownloadGraphImportLog = useCallback(() => { + void import('@/app/components/workflow/collaboration/core/collaboration-manager') + .then(({ collaborationManager }) => { + collaborationManager.downloadGraphImportLog() + }) + .catch(() => {}) + }, []) const renderLogo = () => (

- + {isBrandingEnabled && systemFeatures.branding.application_title ? systemFeatures.branding.application_title : 'Dify'} {systemFeatures.branding.enabled && systemFeatures.branding.workspace_logo ? ( @@ -91,7 +98,7 @@ const Header = () => { return (
-
+
{renderLogo()}
/
@@ -105,7 +112,15 @@ const Header = () => { {(isCurrentWorkspaceEditor || isCurrentWorkspaceDatasetOperator) && } {!isCurrentWorkspaceDatasetOperator && }
-
+
+