1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

fix eslint warning and code format (#5877)

This commit is contained in:
Michael An
2024-01-03 21:59:44 +08:00
committed by GitHub
parent adc8960fd8
commit 7456cf1fae
5 changed files with 16 additions and 21 deletions

View File

@@ -404,7 +404,7 @@ class SharedRepoListItem extends React.Component {
let operations = [];
if (isPro) {
if (repo.owner_email.indexOf('@seafile_group') != -1) {
// is group admin
// is group admin
if (isStaff) {
if (repo.owner_email == currentGroup.id + '@seafile_group') {
this.isDeparementOnwerGroupMember = true;