mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-07-06 16:11:56 +08:00
Merge branch 'feature/1.7-liujian' into 'main'
Fix: Dragging to modify the order of service categories will fail when there... See merge request apipark/APIPark!333
This commit is contained in:
@@ -515,7 +515,10 @@ func (i *imlCatalogueModule) recurseUpdateSort(ctx context.Context, parent strin
|
||||
if len(item.Children) < 1 {
|
||||
continue
|
||||
}
|
||||
return i.recurseUpdateSort(ctx, item.Id, item.Children)
|
||||
err = i.recurseUpdateSort(ctx, item.Id, item.Children)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user