Browse Source

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

pull/990/head
zhengkunwang223 2 years ago committed by GitHub
parent
commit
740b4c52d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      backend/app/service/app_utils.go

2
backend/app/service/app_utils.go

@ -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…
Cancel
Save