Skip to content
Snippets Groups Projects
Verified Commit ed3a99a2 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Fix default value for color field in calendar events

parent 0fcba810
No related branches found
No related tags found
1 merge request!1148Calendar events and iCal feeds
Pipeline #130844 failed
......@@ -714,6 +714,10 @@ class CalendarEventMixin(RegistryObject):
def value_link(cls, reference_object, request) -> str:
return ""
@classmethod
def value_color(cls, reference_object, request) -> str:
return cls.get_color(request)
@classproperty
def valid_feeds(cls):
"""Return a list of valid feeds."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment