skip Inbox

This commit is contained in:
j 2019-01-29 15:50:03 +05:30
parent 760494dd6d
commit 58689cd4ff

View file

@ -338,7 +338,7 @@ oml.ui.folders = function() {
that.updateOwnLists = function(callback) { that.updateOwnLists = function(callback) {
oml.getLists(function(lists) { oml.getLists(function(lists) {
var items = lists.filter(function(list) { var items = lists.filter(function(list) {
return list.user == '' && list.type != 'library'; return list.user == '' && list.type != 'library' && list.name != 'Inbox';
}); });
oml.$ui.folder[0].$content oml.$ui.folder[0].$content
.css({height: 16 + items.length * 16 + 'px'}); .css({height: 16 + items.length * 16 + 'px'});