mirror of https://github.com/langgenius/dify.git
fix: allow update plugin install settings (#22111)
This commit is contained in:
parent
4403bc67a1
commit
785c4caa67
|
|
@ -136,7 +136,7 @@ const PluginPage = ({
|
|||
const options = usePluginPageContext(v => v.options)
|
||||
const activeTab = usePluginPageContext(v => v.activeTab)
|
||||
const setActiveTab = usePluginPageContext(v => v.setActiveTab)
|
||||
const { enable_marketplace, branding } = useGlobalPublicStore(s => s.systemFeatures)
|
||||
const { enable_marketplace } = useGlobalPublicStore(s => s.systemFeatures)
|
||||
|
||||
const isPluginsTab = useMemo(() => activeTab === PLUGIN_PAGE_TABS_MAP.plugins, [activeTab])
|
||||
const isExploringMarketplace = useMemo(() => {
|
||||
|
|
@ -225,7 +225,7 @@ const PluginPage = ({
|
|||
)
|
||||
}
|
||||
{
|
||||
canSetPermissions && !branding.enabled && (
|
||||
canSetPermissions && (
|
||||
<Tooltip
|
||||
popupContent={t('plugin.privilege.title')}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue