Public is not part of lists

This commit is contained in:
j 2019-01-20 15:22:43 +05:30
parent 9c393cdd56
commit 18309f9701
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ oml.ui.folders = function() {
oml.$ui.folder[index].options({title: Ox.encodeHTMLEntities(name)});
oml.getLists(function(lists) {
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) {
return list.user == name && list.type == 'library';