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:
parent
dbb94942df
commit
740b4c52d2
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user