prevent typeError
This commit is contained in:
parent
0df9e5ace0
commit
19e58cec94
@ -425,6 +425,7 @@ define([
|
||||
|
||||
getFiles([FILES_DATA]).forEach(function (id) {
|
||||
var data = allFilesList[id];
|
||||
if (!data) { return; }
|
||||
if (Array.isArray(data.tags) && containsSearchedTag(data.tags)) {
|
||||
res.push(id);
|
||||
} else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user