feat: update url redirect
This commit is contained in:
parent
d5be139635
commit
6ca0e05ab6
|
|
@ -78,16 +78,11 @@ const columns: ColumnDef<any>[] = [
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent className="p-0" align="end">
|
<DropdownMenuContent className="p-0" align="end">
|
||||||
<Link
|
<Link
|
||||||
href={`/contributor/content/${
|
href={`/admin/media-tracking/detail/${row.original.id}`}
|
||||||
row.original.mediaUpload.fileType.secondaryName &&
|
|
||||||
row.original.mediaUpload.fileType.secondaryName.toLowerCase()
|
|
||||||
}/detail/${row.original.mediaUpload.id}`}
|
|
||||||
>
|
>
|
||||||
<DropdownMenuItem className="p-2 border-b text-default-700 group focus:bg-default focus:text-primary-foreground rounded-none">
|
<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" />
|
<Eye className="w-4 h-4 me-1.5" />
|
||||||
View{" "}
|
Detail
|
||||||
{row.original.mediaUpload.fileType.secondaryName &&
|
|
||||||
row.original.mediaUpload.fileType.secondaryName.toLowerCase()}
|
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
</Link>
|
</Link>
|
||||||
</DropdownMenuContent>
|
</DropdownMenuContent>
|
||||||
|
|
|
||||||
|
|
@ -3391,7 +3391,7 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
||||||
submenus: [
|
submenus: [
|
||||||
{
|
{
|
||||||
href: "/admin/media-tracking/tracking-berita",
|
href: "/admin/media-tracking/tracking-berita",
|
||||||
label: "Tracking Beritra",
|
label: "Tracking Berita",
|
||||||
active: pathname === "/admin/media-tracking/tracking-berita",
|
active: pathname === "/admin/media-tracking/tracking-berita",
|
||||||
icon: "heroicons:arrow-trending-up",
|
icon: "heroicons:arrow-trending-up",
|
||||||
children: [],
|
children: [],
|
||||||
|
|
@ -3684,7 +3684,7 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "/admin/media-tracking/tb-news",
|
href: "/admin/media-tracking/tb-news",
|
||||||
label: "Tracking Beritra Hari Ini",
|
label: "Tracking Berita Hari Ini",
|
||||||
active: pathname === "/media-tracking/news",
|
active: pathname === "/media-tracking/news",
|
||||||
icon: "heroicons:arrow-trending-up",
|
icon: "heroicons:arrow-trending-up",
|
||||||
children: [],
|
children: [],
|
||||||
|
|
@ -3893,7 +3893,7 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "/admin/media-tracking/tb-news",
|
href: "/admin/media-tracking/tb-news",
|
||||||
label: "Tracking Beritra Hari Ini",
|
label: "Tracking Berita Hari Ini",
|
||||||
active: pathname === "/media-tracking/news",
|
active: pathname === "/media-tracking/news",
|
||||||
icon: "heroicons:arrow-trending-up",
|
icon: "heroicons:arrow-trending-up",
|
||||||
children: [],
|
children: [],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue