Public is not part of lists
This commit is contained in:
parent
9c393cdd56
commit
18309f9701
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ oml.ui.folders = function() {
|
||||||
oml.$ui.folder[index].options({title: Ox.encodeHTMLEntities(name)});
|
oml.$ui.folder[index].options({title: Ox.encodeHTMLEntities(name)});
|
||||||
oml.getLists(function(lists) {
|
oml.getLists(function(lists) {
|
||||||
var items = lists.filter(function(list) {
|
var items = lists.filter(function(list) {
|
||||||
return list.user == name && list.type != 'library';
|
return list.user == name && list.type != 'library' && list.name != 'Public';
|
||||||
}),
|
}),
|
||||||
library = lists.filter(function(list) {
|
library = lists.filter(function(list) {
|
||||||
return list.user == name && list.type == 'library';
|
return list.user == name && list.type == 'library';
|
||||||
|
|
Loading…
Reference in a new issue