浏览代码

🐛 fix problem auto-selection

jmacura 4 年之前
父节点
当前提交
174d180b5b
共有 1 个文件被更改,包括 1 次插入0 次删除
  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);
   }
 }