From 60b71108e5d4f9ebb763aaf3a30f86718b4323f2 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Mon, 13 Jan 2025 16:23:51 +0100 Subject: [PATCH] Merge two accidental "Alerts page settings" sections into one Signed-off-by: Julius Volz --- .../src/components/SettingsMenu.tsx | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/web/ui/mantine-ui/src/components/SettingsMenu.tsx b/web/ui/mantine-ui/src/components/SettingsMenu.tsx index aae38909d0..e5376eef2c 100644 --- a/web/ui/mantine-ui/src/components/SettingsMenu.tsx +++ b/web/ui/mantine-ui/src/components/SettingsMenu.tsx @@ -107,36 +107,36 @@ const SettingsMenu: FC = () => {
- - dispatch( - updateSettings({ - showAnnotations: event.currentTarget.checked, - }) - ) - } - /> -
-
- { - if (typeof value !== "number") { - return; + + + dispatch( + updateSettings({ + showAnnotations: event.currentTarget.checked, + }) + ) } + /> + { + if (typeof value !== "number") { + return; + } - dispatch( - updateSettings({ - alertGroupsPerPage: value, - }) - ); - }} - /> + dispatch( + updateSettings({ + alertGroupsPerPage: value, + }) + ); + }} + /> +