fix(api): UI crash with TypeError: i.map is not a function
#6985
+26
−2
TypeError: i.map is not a function
#6985