@sdetweil Sam good evening
I wonder how to set up multiple ev transformations in one config.
I got working
{
eventTransformer: (ev) => {
if (ev.title.search("Geburtstag") > -1) {ev.color= "#ff00ff"; };
return ev; },
But putting another one to it is puzzling me. I tried different methods, but cant get it done.
When I simply put a second complete command after the first, like this:
{
eventTransformer: (ev) => {
if (ev.title.search("Arzt") > -1) {ev.color= "#ff0000"; };
return ev; },
it will just negate the first applied effect from birthday and uses this effect instead on the named events.
Can you help me out please?