feat: menu sidebar,emergency issue

This commit is contained in:
Anang Yusman 2025-06-16 16:07:58 +08:00
parent e6e9c84468
commit 5875b64069
3 changed files with 49 additions and 49 deletions

View File

@ -49,11 +49,11 @@ const columns: ColumnDef<any>[] = [
header: "Jumlah Amplifikasi",
cell: ({ row }) => <span>{row.getValue("link")}</span>,
},
// {
// accessorKey: "status",
// header: "Status",
// cell: ({ row }) => <span>{row.getValue("status")}</span>,
// },
{
accessorKey: "status",
header: "Status",
cell: ({ row }) => <span>{row.getValue("status")}</span>,
},
{
accessorKey: "date",
header: "Tanggal Penarikan",
@ -85,7 +85,7 @@ const columns: ColumnDef<any>[] = [
>
<DropdownMenuItem className="p-2 border-b text-default-700 group focus:bg-default focus:text-primary-foreground rounded-none">
<Eye className="w-4 h-4 me-1.5" />
View{" "}
View
{row.original.mediaUpload.fileType.secondaryName &&
row.original.mediaUpload.fileType.secondaryName.toLowerCase()}
</DropdownMenuItem>

View File

@ -51,7 +51,7 @@ import { ChevronDownIcon } from "lucide-react";
import { getOperatorUser } from "@/service/management-user/management-user";
const taskSchema = z.object({
message: z.string().optional(),
title: z.string().optional(),
description: z.string().optional(),
});
@ -275,7 +275,7 @@ export default function FormQuestionsReply() {
title: data.title,
description: data.description,
priorityId: selectedPriority,
statusId: selectedStatus,
statusId: 1,
typeId: detailTickets?.typeId,
parentCommentId: detailTickets?.feedId,
operatorTeam: selectedOperator.join(","),
@ -507,7 +507,7 @@ export default function FormQuestionsReply() {
<Label>Judul</Label>
<Controller
control={control}
name="message"
name="title"
render={({ field }) => (
<Input
size="md"

View File

@ -3627,20 +3627,20 @@ export function getMenuList(pathname: string, t: any): Group[] {
},
],
},
{
groupLabel: "",
id: "contest",
menus: [
{
id: "contest",
href: "/shared/contest",
label: t("contest"),
active: pathname.includes("/contest"),
icon: "ic:outline-emoji-events",
submenus: [],
},
],
},
// {
// groupLabel: "",
// id: "contest",
// menus: [
// {
// id: "contest",
// href: "/shared/contest",
// label: t("contest"),
// active: pathname.includes("/contest"),
// icon: "ic:outline-emoji-events",
// submenus: [],
// },
// ],
// },
{
groupLabel: "",
id: "communication",
@ -3896,16 +3896,16 @@ export function getMenuList(pathname: string, t: any): Group[] {
icon: "material-symbols:map-search-outline",
submenus: [
{
href: "/admin/media-tracking/media-online",
label: "Media Online",
active: pathname === "/media-tracking/media-online",
href: "/admin/media-tracking/tracking-berita",
label: "Tracking Beritra",
active: pathname === "/admin/media-tracking/tracking-berita",
icon: "heroicons:arrow-trending-up",
children: [],
},
{
href: "/admin/media-tracking/tb-news",
label: "Tracking Beritra Hari Ini",
active: pathname === "/media-tracking/news",
href: "/admin/media-tracking/results",
label: "Hasil",
active: pathname === "/admin/media-tracking/results",
icon: "heroicons:arrow-trending-up",
children: [],
},
@ -4079,20 +4079,20 @@ export function getMenuList(pathname: string, t: any): Group[] {
},
],
},
// {
// groupLabel: "",
// id: "performance-satker",
// menus: [
// {
// id: "performance-polres",
// href: "/admin/performance-satker",
// label: t("performance-satker"),
// active: pathname.includes("/admin/performance-satker"),
// icon: "ant-design:signal-filled",
// submenus: [],
// },
// ],
// },
{
groupLabel: "",
id: "performance-satker",
menus: [
{
id: "performance-polres",
href: "/admin/performance-satker",
label: t("performance-satker"),
active: pathname.includes("/admin/performance-satker"),
icon: "ant-design:signal-filled",
submenus: [],
},
],
},
{
groupLabel: "",
id: "media-tracking",
@ -4105,16 +4105,16 @@ export function getMenuList(pathname: string, t: any): Group[] {
icon: "material-symbols:map-search-outline",
submenus: [
{
href: "/admin/media-tracking/media-online",
label: "Media Online",
active: pathname === "/media-tracking/media-online",
href: "/admin/media-tracking/tracking-berita",
label: "Tracking Beritra",
active: pathname === "/admin/media-tracking/tracking-berita",
icon: "heroicons:arrow-trending-up",
children: [],
},
{
href: "/admin/media-tracking/tb-news",
label: "Tracking Beritra Hari Ini",
active: pathname === "/media-tracking/news",
href: "/admin/media-tracking/results",
label: "Hasil",
active: pathname === "/admin/media-tracking/results",
icon: "heroicons:arrow-trending-up",
children: [],
},