1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 15:19:06 +00:00

fix warnings

fix warnings in previous codes
This commit is contained in:
Michael An
2019-04-17 18:21:00 +08:00
parent 5a835ad397
commit 73d41e2b57
18 changed files with 99 additions and 99 deletions

View File

@@ -16,7 +16,7 @@ class SearchResultItem extends React.Component {
render() {
let item = this.props.item;
let className = item.link_content ? "item-img" : "lib-item-img";
let className = item.link_content ? 'item-img' : 'lib-item-img';
let folderIconUrl = item.link_content ? Utils.getFolderIconUrl(false, 192) : Utils.getDefaultLibIconUrl(true);
let fileIconUrl = item.is_dir ? folderIconUrl : Utils.getFileIconUrl(item.name, 192);
return (