From 1b5353f3b841e04ec3b8d5edc82a86b0ed6b7c6f Mon Sep 17 00:00:00 2001 From: masterelmar <18119527+masterElmar@users.noreply.github.com> Date: Mon, 9 Oct 2023 15:08:18 +0200 Subject: [PATCH] added type to ical Description --- backend/service/ical/icalFileGeneration.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/service/ical/icalFileGeneration.go b/backend/service/ical/icalFileGeneration.go index 0279bf7..14d64ba 100644 --- a/backend/service/ical/icalFileGeneration.go +++ b/backend/service/ical/icalFileGeneration.go @@ -62,6 +62,9 @@ func generateDescription(event *model.Event) string { if !functions.OnlyWhitespace(event.Course) { description += "Gruppe: " + event.Course + "\n" } + if !functions.OnlyWhitespace(event.EventType) { + description += "Typ: " + event.EventType + "\n" + } return description }