ui: move 'Alertas enviados' from sidebar to Settings actions; update docs
This commit is contained in:
parent
a40072f428
commit
f550fa5952
3 changed files with 10 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import { useMemo, useState } from "react"
|
|||
import Link from "next/link"
|
||||
import { useRouter } from "next/navigation"
|
||||
import { toast } from "sonner"
|
||||
import { Settings2, Share2, ShieldCheck, UserCog, UserPlus, Users2, Layers3, MessageSquareText } from "lucide-react"
|
||||
import { Settings2, Share2, ShieldCheck, UserCog, UserPlus, Users2, Layers3, MessageSquareText, BellRing } from "lucide-react"
|
||||
|
||||
import { Badge } from "@/components/ui/badge"
|
||||
import { Button } from "@/components/ui/button"
|
||||
|
|
@ -91,6 +91,14 @@ const SETTINGS_ACTIONS: SettingsAction[] = [
|
|||
requiredRole: "admin",
|
||||
icon: ShieldCheck,
|
||||
},
|
||||
{
|
||||
title: "Alertas enviados",
|
||||
description: "Histórico de alertas e notificações emitidos pela plataforma.",
|
||||
href: "/admin/alerts",
|
||||
cta: "Ver alertas",
|
||||
requiredRole: "admin",
|
||||
icon: BellRing,
|
||||
},
|
||||
]
|
||||
|
||||
export function SettingsContent() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue