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:
parent
836f6c3520
commit
7f3cc784cd
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user