Opetushallitus/eperusteet-opintopolku

View on GitHub
src/stores/KoosteTiedotteetStore.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  public async fetch(perusteJulkaisut?) {
    this.state.tiedotteet = null;
    let tiedotteet: TiedoteDto[] = [];

    if (perusteJulkaisut) {
Severity: Minor
Found in src/stores/KoosteTiedotteetStore.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status