1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-27 23:56:18 +00:00

[onlyoffice file view] added a custom toolbar(star/unstar, smart link… (#6880)

* [onlyoffice file view] added a custom toolbar(star/unstar, smart link, details, open parent folder, fold/unfold)

* [onlyoffice file view] added a new 'details' panel for it
This commit is contained in:
llj
2024-10-12 20:32:39 +08:00
committed by GitHub
parent 5b243908a7
commit 3cdb6260e1
13 changed files with 498 additions and 43 deletions

View File

@@ -84,8 +84,9 @@ class FileToolbar extends React.Component {
return null;
}
const { isLocked, lockedByMe } = this.props;
const { moreDropdownOpen } = this.state;
const { isLocked, lockedByMe } = this.props;
let showLockUnlockBtn = false;
let lockUnlockText; let lockUnlockIcon;
if (canLockUnlockFile) {