1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +00:00

fix warnings (#3441)

This commit is contained in:
Michael An
2019-05-11 20:38:17 +08:00
committed by Daniel Pan
parent beb841926a
commit 0a232cebff
5 changed files with 10 additions and 9 deletions

View File

@@ -95,7 +95,7 @@ class MutipleDirOperationToolbar extends React.Component {
if (dirent.type === 'dir') {
let shareBtn = this.props.showShareBtn ? [SHARE] : []
let shareBtn = this.props.showShareBtn ? [SHARE] : [];
menuList = [...shareBtn];
return menuList;
}