Skip to content

Commit cc52481

Browse files
authored
Merge pull request #293 from APIParkLab/feature/1.7-liujian
Fix: Dragging to modify the order of service categories will fail whe…
2 parents ca54fc5 + b6f593c commit cc52481

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

module/catalogue/iml.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,10 @@ func (i *imlCatalogueModule) recurseUpdateSort(ctx context.Context, parent strin
515515
if len(item.Children) < 1 {
516516
continue
517517
}
518-
return i.recurseUpdateSort(ctx, item.Id, item.Children)
518+
err = i.recurseUpdateSort(ctx, item.Id, item.Children)
519+
if err != nil {
520+
return err
521+
}
519522
}
520523
return nil
521524
}

0 commit comments

Comments
 (0)