mirror of https://github.com/langgenius/dify.git
Update web/app/components/plugins/plugin-detail-panel/detail-header.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
a9a6e773a1
commit
6c515bf9c3
|
|
@ -107,7 +107,7 @@ const DetailHeader = ({
|
|||
const { referenceSetting } = useReferenceSetting()
|
||||
const { auto_upgrade: autoUpgradeInfo } = referenceSetting || {}
|
||||
const isAutoUpgradeEnabled = useMemo(() => {
|
||||
if(!autoUpgradeInfo)
|
||||
if (!autoUpgradeInfo)
|
||||
return false
|
||||
if(autoUpgradeInfo.upgrade_mode === AUTO_UPDATE_MODE.update_all)
|
||||
return true
|
||||
|
|
|
|||
Loading…
Reference in New Issue