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

[markdown file view] toolbar: added 'download' & 'open via client', and etc.

This commit is contained in:
llj
2021-04-19 16:14:59 +08:00
parent 866e84e692
commit 372be49ae1
3 changed files with 40 additions and 10 deletions

View File

@@ -54,10 +54,6 @@ class FileToolbar extends React.Component {
});
}
openFileViaClient = () => {
location.href = `seafile://openfile?repo_id=${encodeURIComponent(repoID)}&path=${encodeURIComponent(filePath)}`;
}
render() {
const { isLocked, lockedByMe } = this.props;
const { moreDropdownOpen } = this.state;