fix:monitoring

This commit is contained in:
Rama Priyanto 2025-05-13 13:08:38 +07:00
parent 5932793d7e
commit 744414f852
2 changed files with 10 additions and 3 deletions

View File

@ -48,6 +48,11 @@ const columns: ColumnDef<any>[] = [
</span>
),
},
{
accessorKey: "title",
header: "Judul Berita",
cell: ({ row }) => <span>{row.getValue("title")}</span>,
},
{
accessorKey: "pageUrl",
header: "Link Berita",

View File

@ -104,13 +104,15 @@ export default function TrackingMediaModal(props: {
value={inputValue}
onChange={handleInputChange}
/>{" "}
<div className="w-full border rounded-md text-xs p-2 flex flex-col gap-1 max-h-[300px] overflow-auto">
<div className="w-full border rounded-sm text-xs p-2 flex flex-col max-h-[300px] overflow-auto">
{content.length > 0 &&
content.map((item: any) => (
<a
key={item.id}
className={`cursor-pointer ${
selectedId === item.id ? "font-bold" : ""
className={`cursor-pointer px-2 py-4 ${
selectedId === item.id
? "font-bold bg-gray-200 rounded-sm"
: "hover:bg-gray-100 hover:font-semibold"
}`}
onClick={() => {
setSelectedId(item.id);