fix: only show repeating count if the event is actually repeating

This commit is contained in:
Jan Syring-Lingenfelder 2019-01-13 16:07:02 +01:00
parent 90b24d824a
commit 1c83059482

View File

@ -220,7 +220,7 @@ Module.register("calendar", {
var titleWrapper = document.createElement("td"),
repeatingCountTitle = "";
if (this.config.displayRepeatingCountTitle) {
if (this.config.displayRepeatingCountTitle && event.firstYear !== undefined) {
repeatingCountTitle = this.countTitleForUrl(event.url);