forked from 0x2620/pandora
only update items count if list is visible
This commit is contained in:
parent
041e442290
commit
63f3063c95
1 changed files with 2 additions and 1 deletions
|
@ -448,7 +448,8 @@ pandora.ui.list = function() {
|
||||||
) {
|
) {
|
||||||
list = data.query.conditions[0].value;
|
list = data.query.conditions[0].value;
|
||||||
folder = pandora.getListData(list).folder;
|
folder = pandora.getListData(list).folder;
|
||||||
if (pandora.$ui.folderList[folder]) {
|
if (pandora.$ui.folderList[folder]
|
||||||
|
&& !Ox.isEmpty(pandora.$ui.folderList[folder].value(list))) {
|
||||||
pandora.$ui.folderList[folder].value(
|
pandora.$ui.folderList[folder].value(
|
||||||
list, 'items', data.items
|
list, 'items', data.items
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue