Fallback value

This commit is contained in:
Alex Tselegidis 2024-03-19 07:11:16 +00:00
parent d4be65e4a4
commit 80435bd522

View file

@ -953,7 +953,7 @@ App.Utils.CalendarTableView = (function () {
* @param {Object[]} blockedPeriods Contains the blocked period data.
*/
function createBlockedPeriods($providerColumn, blockedPeriods) {
if (blockedPeriods.length === 0) {
if (blockedPeriods?.length === 0) {
return;
}