opf/openproject

View on GitHub
frontend/src/app/shared/components/fields/edit/edit-form/edit-form.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function submit has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public async submit():Promise<T> {
    if (this.change.isEmpty() && !isNewResource(this.resource)) {
      this.closeEditFields();
      return Promise.resolve(this.resource);
    }

    There are no issues that match your filters.

    Category
    Status