fix voting admin:

deskripsi:
- fix voting table review
This commit is contained in:
2025-02-24 16:55:34 +08:00
parent 8f80419eb2
commit f2d3930bd1
6 changed files with 771 additions and 724 deletions

View File

@@ -1,13 +1,9 @@
import { AdminVote_TablePublish } from "@/app_modules/admin/vote";
import { AdminVote_getListTableByStatusId } from "@/app_modules/admin/vote/fun/get/get_list_table_by_status_id";
import { adminVote_funGetListPublish } from "@/app_modules/admin/vote/fun/get/status/get_list_publish";
export default async function Page() {
const dataVote = await adminVote_funGetListPublish({page: 1});
return (
<>
<AdminVote_TablePublish dataVote={dataVote} />
</>
);
}
return (
<>
<AdminVote_TablePublish />
</>
);
}

View File

@@ -1,12 +1,9 @@
import { AdminVote_TableReview } from "@/app_modules/admin/vote";
import { adminVote_funGetListReview } from "@/app_modules/admin/vote/fun";
export default async function Page() {
const listVote = await adminVote_funGetListReview({ page: 1 });
return (
<>
<AdminVote_TableReview listVote={listVote as any} />
<AdminVote_TableReview />
</>
);
}