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