mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 00:00:00 +00:00
style modify
This commit is contained in:
@@ -485,7 +485,7 @@ class DirentGridView extends React.Component{
|
||||
<Fragment>
|
||||
<ul className="grid-view" onClick={this.gridContainerClick} onContextMenu={this.onGridContainerContextMenu} onMouseDown={this.onGridContainerMouseDown}>
|
||||
{
|
||||
direntList.map((dirent, index) => {
|
||||
direntList.length !== 0 && direntList.map((dirent, index) => {
|
||||
return (
|
||||
<DirentGridItem
|
||||
key={index}
|
||||
|
@@ -523,7 +523,7 @@ class DirentListView extends React.Component {
|
||||
|
||||
render() {
|
||||
const { direntList, sortBy, sortOrder } = this.props;
|
||||
|
||||
|
||||
if (this.props.isDirentListLoading) {
|
||||
return (<Loading />);
|
||||
}
|
||||
|
Reference in New Issue
Block a user