diff --git a/web/src/pages/Logs.tsx b/web/src/pages/Logs.tsx index c09f71ab0..b15bf2a55 100644 --- a/web/src/pages/Logs.tsx +++ b/web/src/pages/Logs.tsx @@ -1,3 +1,4 @@ +import Logo from "@/components/Logo"; import { Button } from "@/components/ui/button"; import { DropdownMenu, @@ -9,6 +10,7 @@ import { DropdownMenuTrigger, } from "@/components/ui/dropdown-menu"; import Heading from "@/components/ui/heading"; +import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group"; import copy from "copy-to-clipboard"; import { useCallback, useMemo, useRef, useState } from "react"; import useSWR from "swr"; @@ -61,37 +63,29 @@ function Logs() { ); return ( -
+
- - Logs - + + value ? setLogService(value) : null + } // don't allow the severity to be unselected + > + {Object.values(logTypes).map((item) => ( + +
{`${item} Logs`}
+
+ ))} +
- - - - - - Select Logs To View - - setLogService(type as LogType)} - > - {Object.values(logTypes).map((item) => ( - - {item} Logs - - ))} - - -
@@ -113,7 +107,7 @@ function Logs() {
{logs}