mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-14 01:34:47 +08:00
fix: 解决升级页面 链接点击不跳转的问题 (#5413)
Refs https://github.com/1Panel-dev/1Panel/issues/5371
This commit is contained in:
parent
05e62a6f94
commit
9bd9700bac
@ -88,6 +88,12 @@ type AppInstalledDTO struct {
|
|||||||
Path string `json:"path"`
|
Path string `json:"path"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type AppDetail struct {
|
||||||
|
Website string `json:"website"`
|
||||||
|
Document string `json:"document"`
|
||||||
|
Github string `json:"github"`
|
||||||
|
}
|
||||||
|
|
||||||
type AppInstallDTO struct {
|
type AppInstallDTO struct {
|
||||||
ID uint `json:"id"`
|
ID uint `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
@ -109,6 +115,7 @@ type AppInstallDTO struct {
|
|||||||
AppStatus string `json:"appStatus"`
|
AppStatus string `json:"appStatus"`
|
||||||
DockerCompose string `json:"dockerCompose"`
|
DockerCompose string `json:"dockerCompose"`
|
||||||
CreatedAt time.Time `json:"createdAt"`
|
CreatedAt time.Time `json:"createdAt"`
|
||||||
|
App AppDetail `json:"app"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DatabaseConn struct {
|
type DatabaseConn struct {
|
||||||
|
@ -1255,6 +1255,11 @@ func handleInstalled(appInstallList []model.AppInstall, updated bool, sync bool)
|
|||||||
AppType: installed.App.Type,
|
AppType: installed.App.Type,
|
||||||
Path: installed.GetPath(),
|
Path: installed.GetPath(),
|
||||||
CreatedAt: installed.CreatedAt,
|
CreatedAt: installed.CreatedAt,
|
||||||
|
App: response.AppDetail{
|
||||||
|
Github: installed.App.Github,
|
||||||
|
Website: installed.App.Website,
|
||||||
|
Document: installed.App.Document,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
if updated {
|
if updated {
|
||||||
installDTO.DockerCompose = installed.DockerCompose
|
installDTO.DockerCompose = installed.DockerCompose
|
||||||
|
Loading…
x
Reference in New Issue
Block a user