mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-14 09:26:34 +08:00
fix: 解决应用已安装时间显示错误的问题 (#5327)
This commit is contained in:
parent
d0105c7863
commit
a7cf69e5a2
2 changed files with 21 additions and 19 deletions
|
@ -107,6 +107,7 @@ type AppInstallDTO struct {
|
|||
AppType string `json:"appType"`
|
||||
AppStatus string `json:"appStatus"`
|
||||
DockerCompose string `json:"dockerCompose"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
}
|
||||
|
||||
type DatabaseConn struct {
|
||||
|
|
|
@ -1254,6 +1254,7 @@ func handleInstalled(appInstallList []model.AppInstall, updated bool, sync bool)
|
|||
AppKey: installed.App.Key,
|
||||
AppType: installed.App.Type,
|
||||
Path: installed.GetPath(),
|
||||
CreatedAt: installed.CreatedAt,
|
||||
}
|
||||
if updated {
|
||||
installDTO.DockerCompose = installed.DockerCompose
|
||||
|
|
Loading…
Add table
Reference in a new issue