mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
Fixed flow issues in tests
This commit is contained in:
@@ -96,7 +96,7 @@ class FileTree extends React.Component<Props> {
|
||||
});
|
||||
}
|
||||
|
||||
if (tree._embedded) {
|
||||
if (tree._embedded && tree._embedded.children) {
|
||||
files.push(...tree._embedded.children.sort(compareFiles));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user