1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

histort-permission (#2952)

This commit is contained in:
Michael An
2019-02-18 10:37:24 +08:00
committed by Daniel Pan
parent ebc5ab6ab1
commit 7fc34f477f

View File

@@ -112,14 +112,12 @@ class ViewFileText extends React.Component {
icon={'fa fa-lock'} icon={'fa fa-lock'}
/> />
} }
{isPro === 'True' && <IconButton
<IconButton id={'historyButton'}
id={'historyButton'} text={gettext('File History')}
text={gettext('File History')} onMouseDown={() => this.handleMouseDown('history')}
onMouseDown={() => this.handleMouseDown('history')} icon={'fa fa-history'}
icon={'fa fa-history'} />
/>
}
<IconButton <IconButton
id={'shareBtn'} id={'shareBtn'}
text={gettext('Edit')} text={gettext('Edit')}