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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user