improvement provider
This commit is contained in:
1 parent
69259aee97
commit
f628a8035a
1 file changed
+1
-1
@@ -65,7 +65,7 @@ function parseIcon(item){
|
||||
}
|
||||
|
||||
function parseItems(content, channel) {
|
||||
const json = typeof content === 'string' ? JSON.parse(content) : content
|
||||
const json = typeof content === 'string' ? JSON.parse(content) : []
|
||||
|
||||
const channelData = json.find(i => i.channelExternalId == channel.site_id);
|
||||
|
||||
|
||||
Reference in new issue
Block a user