Hide files/folders table if not need
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import FileEntry from "./FileEntry";
|
||||
|
||||
function FilesTable(props) {
|
||||
if (props.files.length === 0) {
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
<table>
|
||||
<thead>
|
||||
|
||||
Reference in New Issue
Block a user