diff --git a/web/app/components/app/app-publisher/index.tsx b/web/app/components/app/app-publisher/index.tsx
index b24c865c42..8d0028c7d7 100644
--- a/web/app/components/app/app-publisher/index.tsx
+++ b/web/app/components/app/app-publisher/index.tsx
@@ -263,11 +263,11 @@ const AppPublisher = ({
)
}
- {(isGettingUserCanAccessApp || isGettingAppWhiteListSubjects)
+ {(systemFeatures.webapp_auth.enabled && (isGettingUserCanAccessApp || isGettingAppWhiteListSubjects))
?
: <>
-
+ {systemFeatures.webapp_auth.enabled &&
{t('app.publishApp.title')}
@@ -287,12 +287,12 @@ const AppPublisher = ({
{!isAppAccessSet && {t('app.publishApp.notSetDesc')}
}
-
+ }
-
+
}
>
@@ -301,10 +301,10 @@ const AppPublisher = ({
{appDetail?.mode === 'workflow' || appDetail?.mode === 'completion'
? (
-
+
}
>
@@ -324,13 +324,13 @@ const AppPublisher = ({
{t('workflow.common.embedIntoSite')}
)}
-
+
{
publishedAt && handleOpenInExplore()
}}
- disabled={!publishedAt || !userCanAccessApp?.result}
+ disabled={!publishedAt || (systemFeatures.webapp_auth.enabled && !userCanAccessApp?.result)}
icon={}
>
{t('workflow.common.openInExplore')}