frontend/src/app/shared/components/autocompleter/project-autocompleter/insert-in-list.ts
Function insertProjectWithAncestors
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const insertProjectWithAncestors = (
tree:IProjectAutocompleteItemTree[],
project:IProjectAutocompleteItem,
ancestors:IHalResourceLink[],
):IProjectAutocompleteItemTree[] => {