Skip to content
Permalink
Browse files

Fix again data rows check in most used assets call.

  • Loading branch information...
albertosantini committed Jul 4, 2018
1 parent a9b99a1 commit ea798a048762ae1c5a0496520e3f29e6fab26d86
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/crm.js
@@ -249,7 +249,7 @@ function getMostUsedAssets(callback) {
const n = 10,
mostUsedSymbolsSortable = [];

if (data && data.rows.length) {
if (data && data.rows && data.rows.length) {
mostUsedSymbols = data.rows[0].value;
} else {
callback("Most used assets not available", null);

0 comments on commit ea798a0

Please sign in to comment.
You can’t perform that action at this time.