fix calendar totals for empty weeks (#2581)

This commit is contained in:
Kevin Papst
2021-05-21 15:27:10 +02:00
committed by GitHub
parent 70fd0ae269
commit df6bd30d03

View File

@@ -390,7 +390,7 @@
{# TODO split day entries are calculated only for the begin date #}
var $element = jQuery("#dailytotal-" + moment(event.start).format("YYYY-MM-DD"));
var ids = $element.data('ids');
if (ids === null) {
if (ids === null || ids === undefined) {
ids = '';
}