1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 14:08:06 +08:00

feat: Fix Application Store Style Issue Under Poor Network Conditions (#7374)

Refs https://github.com/1Panel-dev/1Panel/issues/7370
This commit is contained in:
zhengkunwang 2024-12-16 16:58:09 +08:00 committed by GitHub
parent 836f6c3520
commit 7f3cc784cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,11 +126,8 @@ func (a AppService) PageApp(req request.AppSearch) (interface{}, error) {
} }
func (a AppService) GetAppTags() ([]response.TagDTO, error) { func (a AppService) GetAppTags() ([]response.TagDTO, error) {
tags, err := tagRepo.All() tags, _ := tagRepo.All()
if err != nil { res := make([]response.TagDTO, 0)
return nil, err
}
var res []response.TagDTO
for _, tag := range tags { for _, tag := range tags {
res = append(res, response.TagDTO{ res = append(res, response.TagDTO{
Tag: tag, Tag: tag,