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

Merge branch 'saveguard-calendarselectedfeedsmixin-calendar-query-against-no-data' into 'master'

Saveguard calendarSelectedFeedsMixin calendar-query against no data

See merge request !1791
parents 14fa6393 702f3997
No related branches found
No related tags found
1 merge request!1791Saveguard calendarSelectedFeedsMixin calendar-query against no data
Pipeline #197732 passed with warnings
Pipeline: AlekSIS

#197735

    ...@@ -26,6 +26,7 @@ Fixed ...@@ -26,6 +26,7 @@ Fixed
    * The configured theme colors were not used by the frontend. * The configured theme colors were not used by the frontend.
    * Recurring events without until value weren't shown. * Recurring events without until value weren't shown.
    * It wasn't possible to change icons of OAuth applications in the frontend. * It wasn't possible to change icons of OAuth applications in the frontend.
    * First fetching of calendar feeds logged an error to console.
    `4.0`_ - 2025-03-29 `4.0`_ - 2025-03-29
    ------------------- -------------------
    ......
    ...@@ -17,9 +17,11 @@ const calendarSelectedFeedsMixin = { ...@@ -17,9 +17,11 @@ const calendarSelectedFeedsMixin = {
    calendar: { calendar: {
    query: gqlCalendarFeeds, query: gqlCalendarFeeds,
    result({ data }) { result({ data }) {
    this.selectedCalendarFeedNames = data.calendar.calendarFeeds if (data) {
    .filter((c) => c.activated) this.selectedCalendarFeedNames = data.calendar.calendarFeeds
    .map((c) => c.name); .filter((c) => c.activated)
    .map((c) => c.name);
    }
    }, },
    }, },
    }, },
    ......
    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