1
0
Fork 0

fixed a web ui users bug

This commit is contained in:
hkernbach 2016-06-19 17:45:37 +02:00
parent 07335a6f03
commit 1b8fe39348
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ window.ArangoUsers = Backbone.Collection.extend({
},
fetch: function(options) {
if (window.App.currentUser) {
if (window.App.currentUser && window.App.currentDB.get("name") !== '_system') {
this.url = frontendConfig.basePath + "/_api/user/" + encodeURIComponent(window.App.currentUser);
}
return Backbone.Collection.prototype.fetch.call(this, options);