sqlAssessment sync display fix (#14574)

* sqlAssessment sync display fix

* making append data Thenable<void>
This commit is contained in:
Vladimir Chernov
2021-03-05 23:42:07 +03:00
committed by GitHub
parent a17a4a585e
commit 89c3207c94
6 changed files with 11 additions and 10 deletions

View File

@@ -47,7 +47,7 @@ export async function readHistoryFileNames(targetName: string): Promise<TargetWi
};
const datePart = `_${targetFile.split('_')[1]}`;
result.children.push(...files.filter(f => f.endsWith(datePart)));
result.children.push(...files.filter(f => f.endsWith(datePart) && f !== targetFile));
result.children = result.children.map(c => path.join(dirPath, c));
return result;