Sfoglia il codice sorgente

🐛 fix problem auto-selection

jmacura 4 anni fa
parent
commit
174d180b5b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/adjuster/adjuster-presets.service.ts

+ 1 - 0
src/adjuster/adjuster-presets.service.ts

@@ -128,6 +128,7 @@ export class AdjusterPresetsService {
 
   pickProblem(role) {
     this.activeProblem = role.problems[0] ?? null;
+    this.applyProblem(this.activeProblem);
   }
 }