mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-18 22:22:59 +08:00
fix: 解决限制应用安装之后安装按钮还能点的问题 (#5331)
This commit is contained in:
parent
a7cf69e5a2
commit
859ace71df
@ -40,6 +40,7 @@ type AppDto struct {
|
||||
Resource string `json:"resource"`
|
||||
Installed bool `json:"installed"`
|
||||
Versions []string `json:"versions"`
|
||||
Limit int `json:"limit"`
|
||||
Tags []model.Tag `json:"tags"`
|
||||
}
|
||||
|
||||
|
@ -104,6 +104,7 @@ func (a AppService) PageApp(req request.AppSearch) (interface{}, error) {
|
||||
ShortDescZh: ap.ShortDescZh,
|
||||
ShortDescEn: ap.ShortDescEn,
|
||||
Resource: ap.Resource,
|
||||
Limit: ap.Limit,
|
||||
}
|
||||
appDTOs = append(appDTOs, appDTO)
|
||||
appTags, err := appTagRepo.GetByAppId(ap.ID)
|
||||
|
Loading…
Reference in New Issue
Block a user