* Calendar - Fix missing first row in planner by category view

This commit is contained in:
nathangray 2018-07-19 13:59:45 -06:00
parent 1c2466334e
commit 26d8bd1cfb

View File

@ -759,11 +759,11 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
break;
}
}
if(label_index && typeof rows[label_index] === 'undefined')
if(label_index !== false && typeof rows[label_index] === 'undefined')
{
rows[label_index] = [];
}
if(label_index && rows[label_index].indexOf(event) === -1)
if(label_index !== false && rows[label_index].indexOf(event) === -1)
{
rows[label_index].push(event);
}