Public is not part of lists

This commit is contained in:
j 2019-01-20 15:22:43 +05:30
parent 9c393cdd56
commit 18309f9701

View file

@ -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';