list might not exist

This commit is contained in:
j 2023-06-27 12:45:15 +05:30
parent 345195e959
commit f65336c28d

View file

@ -78,7 +78,7 @@ pandora.ui.mainPanel = function() {
if (['clips', 'clip'].indexOf(ui.listView) > -1) {
pandora.$ui.list.options({find: ui.itemFind});
}
pandora.$ui.list.reloadList();
pandora.$ui.list && pandora.$ui.list.reloadList();
}
// FIXME: why is this being handled _here_?
ui._filterState.forEach(function(data, i) {