Merge branch 'prod' of https://gitlab.com/hanifsalafi/web-humas-polri into prod
This commit is contained in:
commit
d29e2018e2
|
|
@ -6,11 +6,11 @@ import {
|
|||
DrawerBody,
|
||||
DrawerContent,
|
||||
DrawerHeader,
|
||||
Image,
|
||||
useDisclosure,
|
||||
} from "@heroui/react";
|
||||
import { ChevronDownIcon, LandingAnalyticIcon, UserIcon } from "../icons";
|
||||
import { MasterUsersIcon } from "../icons/sidebar-icon";
|
||||
import Image from "next/image";
|
||||
import { useEffect, useState } from "react";
|
||||
import { getActivity } from "@/services/activity-log";
|
||||
|
||||
|
|
@ -104,8 +104,6 @@ export default function AnalyticDrawer() {
|
|||
</div>
|
||||
<Image
|
||||
src="/tribrata.png"
|
||||
width={360}
|
||||
height={360}
|
||||
alt="logo"
|
||||
className="w-[80px] opacity-30"
|
||||
/>
|
||||
|
|
@ -128,8 +126,6 @@ export default function AnalyticDrawer() {
|
|||
</div>
|
||||
<Image
|
||||
src="/tribrata.png"
|
||||
width={360}
|
||||
height={360}
|
||||
alt="logo"
|
||||
className="w-[80px] opacity-30"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@ export default function DashboardContainer() {
|
|||
limit: "4",
|
||||
page: page,
|
||||
search: "",
|
||||
sort: "desc",
|
||||
};
|
||||
const res = await getListArticleAdminPage(req);
|
||||
setArticle(res.data?.data);
|
||||
|
|
@ -128,6 +129,7 @@ export default function DashboardContainer() {
|
|||
limit: "10",
|
||||
page: topPagespage,
|
||||
search: "",
|
||||
sort: "desc",
|
||||
};
|
||||
const res = await getTopArticles(req);
|
||||
setTopPages(getTableNumber(10, res.data?.data));
|
||||
|
|
|
|||
Loading…
Reference in New Issue