1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

style modify

This commit is contained in:
zxj96
2019-04-24 10:33:33 +08:00
parent 9c3c63c743
commit 2e9ff52024
2 changed files with 2 additions and 2 deletions

View File

@@ -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}

View File

@@ -523,7 +523,7 @@ class DirentListView extends React.Component {
render() {
const { direntList, sortBy, sortOrder } = this.props;
if (this.props.isDirentListLoading) {
return (<Loading />);
}