1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 18:03:48 +00:00

Fix transfer group or repo bug (#6934)

* 01 fix transfer repo to other user

* 02 fix transfer group to other users

* 03 group no repo style
This commit is contained in:
Michael An
2024-10-23 07:43:02 +08:00
committed by GitHub
parent eb64781c68
commit bbeb36af8a
3 changed files with 13 additions and 5 deletions

View File

@@ -133,13 +133,12 @@ class GroupView extends React.Component {
<EmptyTip
title={gettext('No libraries shared with this group')}
text={gettext('No libraries have been shared with this group yet. A library shared with a group can be accessed by all group members. You can share a library with a group in "My Libraries". You can also create a new library to be shared with this group by clicking the "New Library" button in the menu bar.')}
className="m-0 pt-0 pb-8"
/>
);
} else {
if (currentGroup.admins.indexOf(username) == -1) { // is a member of this group
return (
<EmptyTip title={gettext('No libraries')} className="m-0 pt-0 pb-8" />
<EmptyTip title={gettext('No libraries')} />
);
} else {
return (