opf/openproject

View on GitHub
frontend/src/app/shared/components/autocompleter/project-autocompleter/insert-in-list.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function insertProjectWithAncestors has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const insertProjectWithAncestors = (
  tree:IProjectAutocompleteItemTree[],
  project:IProjectAutocompleteItem,
  ancestors:IHalResourceLink[],
):IProjectAutocompleteItemTree[] => {

    There are no issues that match your filters.

    Category
    Status