1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-13 02:15:59 +00:00

[group] fixup for adding a group owned repo

This commit is contained in:
llj 2018-08-16 10:56:10 +08:00
parent bc507bb8aa
commit 3dad80d722

View File

@ -111,7 +111,10 @@ define([
},
resetOwnedRepos: function() {
this.reset({repos: this.ownedRepos});
// no repos in the group
if (this.repos.length == 0) {
this.reset({repos: this.ownedRepos});
}
},
showEmptyTip: function() {