mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
repair bug
This commit is contained in:
@@ -75,14 +75,13 @@ class SharedRepoListItem extends React.Component {
|
||||
|
||||
getRepoComputeParams = () => {
|
||||
let repo = this.props.repo;
|
||||
let currentGroup = this.props.currentGroup; //todo--change to libray
|
||||
let isReadyOnly = false;
|
||||
if ( repo.permission === 'r' || repo.permission === 'preview') {
|
||||
isReadyOnly = true;
|
||||
let isReadOnly = false;
|
||||
if (repo.permission === 'r' || repo.permission === 'preview') {
|
||||
isReadOnly = true;
|
||||
}
|
||||
let iconUrl = Utils.getLibIconUrl({
|
||||
is_encryted: repo.encrypted,
|
||||
is_readyonly: isReadyOnly,
|
||||
is_readonly: isReadOnly,
|
||||
size: Utils.isHiDPI() ? 48 : 24
|
||||
});
|
||||
let iconTitle = Utils.getLibIconTitle({
|
||||
|
Reference in New Issue
Block a user