We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 343c1ff commit e6dc03bCopy full SHA for e6dc03b
src/controller/TreeViewController.ts
@@ -483,7 +483,10 @@ class TreeViewController implements Disposable {
483
const showLockedFlag: boolean = isShowLocked();
484
const useEndpointTranslation: boolean = isUseEndpointTranslation();
485
const result: string = await executeService.getAllProblems(showLockedFlag, useEndpointTranslation);
486
- const all_problem_info = JSON.parse(result);
+ let all_problem_info = JSON.parse(result);
487
+ if (!showLockedFlag) {
488
+ all_problem_info = all_problem_info.filter((p) => !p.locked);
489
+ }
490
const problems: IProblem[] = [];
491
const AllScoreData = treeDataService.getScoreData();
492
// 增加直接在线获取分数数据
0 commit comments