opf/openproject

View on GitHub
frontend/src/app/features/invite-user-modal/principal/principal-search.component.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function loadPrincipalData has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private loadPrincipalData(searchTerm:string) {
    const nonMemberFilter = new ApiV3FilterBuilder();
    if (searchTerm) {
      nonMemberFilter.add('any_name_attribute', '~', [searchTerm]);
    }

    There are no issues that match your filters.

    Category
    Status