mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 09:49:28 +08:00
update alert history icon
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import {
|
import {
|
||||||
|
AlertOctagonIcon,
|
||||||
BookIcon,
|
BookIcon,
|
||||||
DatabaseBackupIcon,
|
DatabaseBackupIcon,
|
||||||
FingerprintIcon,
|
FingerprintIcon,
|
||||||
@@ -137,7 +138,7 @@ export default memo(function CommandPalette({ open, setOpen }: { open: boolean;
|
|||||||
setOpen(false)
|
setOpen(false)
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<LogsIcon className="me-2 size-4" />
|
<AlertOctagonIcon className="me-2 size-4" />
|
||||||
<span>
|
<span>
|
||||||
<Trans>Alert History</Trans>
|
<Trans>Alert History</Trans>
|
||||||
</span>
|
</span>
|
||||||
|
@@ -7,7 +7,7 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/com
|
|||||||
import { useStore } from "@nanostores/react"
|
import { useStore } from "@nanostores/react"
|
||||||
import { $router } from "@/components/router.tsx"
|
import { $router } from "@/components/router.tsx"
|
||||||
import { getPagePath, redirectPage } from "@nanostores/router"
|
import { getPagePath, redirectPage } from "@nanostores/router"
|
||||||
import { BellIcon, FileSlidersIcon, FingerprintIcon, SettingsIcon, LogsIcon } from "lucide-react"
|
import { BellIcon, FileSlidersIcon, FingerprintIcon, SettingsIcon, AlertOctagonIcon } from "lucide-react"
|
||||||
import { $userSettings, pb } from "@/lib/stores.ts"
|
import { $userSettings, pb } from "@/lib/stores.ts"
|
||||||
import { toast } from "@/components/ui/use-toast.ts"
|
import { toast } from "@/components/ui/use-toast.ts"
|
||||||
import { UserSettings } from "@/types.js"
|
import { UserSettings } from "@/types.js"
|
||||||
@@ -69,7 +69,7 @@ export default function SettingsLayout() {
|
|||||||
{
|
{
|
||||||
title: t`Alert History`,
|
title: t`Alert History`,
|
||||||
href: getPagePath($router, "settings", { name: "alert-history" }),
|
href: getPagePath($router, "settings", { name: "alert-history" }),
|
||||||
icon: LogsIcon,
|
icon: AlertOctagonIcon,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t`YAML Config`,
|
title: t`YAML Config`,
|
||||||
|
Reference in New Issue
Block a user