This commit is contained in:
Lunny Xiao
2024-12-26 12:38:11 -08:00
parent 1a1fe32256
commit bf15e1878c
3 changed files with 23 additions and 12 deletions
@@ -36,7 +36,7 @@ async function loadChildren(item, recursive?: boolean) {
if (json instanceof Array) {
return json.map((i) => ({
name: i.name,
isFile: i.type === 'file',
isFile: i.isFile,
htmlUrl: i.html_url,
path: i.path,
}));