1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +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() { resetOwnedRepos: function() {
this.reset({repos: this.ownedRepos}); // no repos in the group
if (this.repos.length == 0) {
this.reset({repos: this.ownedRepos});
}
}, },
showEmptyTip: function() { showEmptyTip: function() {