This commit is contained in:
Edward Yang 2022-07-13 11:49:29 +08:00
parent cc3932a9f5
commit 99bd9727ca
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class FileManagerService
return [
'path' => $folderPath,
'name' => $baseName,
'leaf' => $this->hasSubFolders($folderPath),
'leaf' => !$this->hasSubFolders($folderPath),
];
}