From 601f8aff6b8fe79afea1f481f78c644e7676d2e2 Mon Sep 17 00:00:00 2001 From: MerlinScheurer Date: Sun, 12 Jan 2025 15:29:20 +0100 Subject: [PATCH] Add key to appriseNotification list --- frontend/src/pages/SettingsScheduling.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/frontend/src/pages/SettingsScheduling.tsx b/frontend/src/pages/SettingsScheduling.tsx index 12749d1f..d3f50d93 100644 --- a/frontend/src/pages/SettingsScheduling.tsx +++ b/frontend/src/pages/SettingsScheduling.tsx @@ -2,7 +2,7 @@ import Notifications from '../components/Notifications'; import SettingsNavigation from '../components/SettingsNavigation'; import Button from '../components/Button'; import PaginationDummy from '../components/PaginationDummy'; -import { useEffect, useState } from 'react'; +import { Fragment, useEffect, useState } from 'react'; import loadSchedule, { ScheduleResponseType } from '../api/loader/loadSchedule'; import loadAppriseNotification, { AppriseNotificationType, @@ -415,11 +415,12 @@ const SettingsScheduling = () => {
{Object.entries(appriseNotification)?.map(([key, { urls, title }]) => { return ( - <> -

{title}

+ +

{title}

+ {urls.map((url: string) => { return ( -

+

{url}

)} +

@@ -451,6 +453,7 @@ const SettingsScheduling = () => { library.

+