From 7f3cc784cd18da0ab0c528cee1e04907febe7bee Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:58:09 +0800 Subject: [PATCH] feat: Fix Application Store Style Issue Under Poor Network Conditions (#7374) Refs https://github.com/1Panel-dev/1Panel/issues/7370 --- backend/app/service/app.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/backend/app/service/app.go b/backend/app/service/app.go index 9d5a8dda5..ac662ab0f 100644 --- a/backend/app/service/app.go +++ b/backend/app/service/app.go @@ -126,11 +126,8 @@ func (a AppService) PageApp(req request.AppSearch) (interface{}, error) { } func (a AppService) GetAppTags() ([]response.TagDTO, error) { - tags, err := tagRepo.All() - if err != nil { - return nil, err - } - var res []response.TagDTO + tags, _ := tagRepo.All() + res := make([]response.TagDTO, 0) for _, tag := range tags { res = append(res, response.TagDTO{ Tag: tag,