fix #291
This commit is contained in:
@@ -15,8 +15,12 @@ module.exports = function(__runtime__, scope){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (i.category) {
|
if (i.category) {
|
||||||
for (var key in i.category) {
|
if(i.category instanceof Array){
|
||||||
intent.addCategory(key, i.category[key]);
|
for(var j = 0; i < i.category.length; j++){
|
||||||
|
intent.addCategory(i.category[j]);
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
intent.addCategory(i.category);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (i.action) {
|
if (i.action) {
|
||||||
|
|||||||
Reference in New Issue
Block a user