1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 16:10:26 +00:00

update show UNLOCK icon logic

This commit is contained in:
lian
2021-01-26 16:54:12 +08:00
parent cbf12f9ed9
commit 708b3ee259

View File

@@ -525,7 +525,7 @@ export const Utils = {
if (isPro) {
if (dirent.is_locked) {
if (dirent.locked_by_me || dirent.lock_owner == 'OnlineOffice' || isRepoOwner || currentRepoInfo.id_admin) {
if (dirent.locked_by_me || dirent.lock_owner == 'OnlineOffice' || isRepoOwner || currentRepoInfo.is_admin) {
list.push(UNLOCK);
}
} else {