1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 14:08:06 +08:00

fix: 修复已安装页面 php 应用丢失的问题 (#989)

This commit is contained in:
zhengkunwang223 2023-05-10 16:52:16 +08:00 committed by GitHub
parent dbb94942df
commit 740b4c52d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -570,7 +570,7 @@ func getAppFromRepo(downloadPath, version string) error {
func handleInstalled(appInstallList []model.AppInstall, updated bool) ([]response.AppInstalledDTO, error) {
var res []response.AppInstalledDTO
for _, installed := range appInstallList {
if installed.App.Type == "php" {
if updated && installed.App.Type == "php" {
continue
}
installDTO := response.AppInstalledDTO{