mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-07 22:16:16 +08:00
fix: 修复已安装页面 php 应用丢失的问题 (#989)
This commit is contained in:
parent
dbb94942df
commit
740b4c52d2
1 changed files with 1 additions and 1 deletions
|
@ -570,7 +570,7 @@ func getAppFromRepo(downloadPath, version string) error {
|
||||||
func handleInstalled(appInstallList []model.AppInstall, updated bool) ([]response.AppInstalledDTO, error) {
|
func handleInstalled(appInstallList []model.AppInstall, updated bool) ([]response.AppInstalledDTO, error) {
|
||||||
var res []response.AppInstalledDTO
|
var res []response.AppInstalledDTO
|
||||||
for _, installed := range appInstallList {
|
for _, installed := range appInstallList {
|
||||||
if installed.App.Type == "php" {
|
if updated && installed.App.Type == "php" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
installDTO := response.AppInstalledDTO{
|
installDTO := response.AppInstalledDTO{
|
||||||
|
|
Loading…
Add table
Reference in a new issue