From f7bf4af60c8cda50a694806dcba86770aed909b5 Mon Sep 17 00:00:00 2001 From: NFish Date: Wed, 23 Apr 2025 15:33:00 +0800 Subject: [PATCH] fix: only disable run app & open in explore menu in publish pop --- .../components/app/app-publisher/index.tsx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/web/app/components/app/app-publisher/index.tsx b/web/app/components/app/app-publisher/index.tsx index d8bf18803d..0385099545 100644 --- a/web/app/components/app/app-publisher/index.tsx +++ b/web/app/components/app/app-publisher/index.tsx @@ -262,28 +262,28 @@ const AppPublisher = ({ }>{t('workflow.common.runApp')} {appDetail?.mode === 'workflow' - ? ( + ? (
} > {t('workflow.common.batchRunApp')} - +
) - : ( + : (
{ setEmbeddingModalOpen(true) handleTrigger() }} - disabled={!publishedAt || !useCanAccessApp?.result} + disabled={!publishedAt} icon={} > {t('workflow.common.embedIntoSite')} - +
)} - - }>{t('workflow.common.accessAPIReference')} - +
+ }>{t('workflow.common.accessAPIReference')} +
{appDetail?.mode === 'workflow' && ( - +
- +
)} }