fix tampilan forum
deksripsi: - penambahan className untuk mempermudah css pada html
This commit is contained in:
@@ -27,7 +27,11 @@ async function GET(request: Request, { params }: { params: { id: string } }) {
|
||||
},
|
||||
_count: {
|
||||
select: {
|
||||
Forum_Komentar: true,
|
||||
Forum_Komentar: {
|
||||
where: {
|
||||
isActive: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
ForumMaster_StatusPosting: true,
|
||||
@@ -38,7 +42,7 @@ async function GET(request: Request, { params }: { params: { id: string } }) {
|
||||
const fixData = {
|
||||
...data,
|
||||
count: data?._count.Forum_Komentar,
|
||||
}
|
||||
};
|
||||
|
||||
return NextResponse.json({
|
||||
success: true,
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
import { funGetUserIdByToken } from "@/app_modules/_global/fun/get";
|
||||
import Forum_MainDetail from "@/app_modules/forum/detail/main_detail";
|
||||
import Forum_V3_MainDetail from "@/app_modules/forum/detail/v3_main_detail";
|
||||
|
||||
export default async function Page() {
|
||||
const userLoginId = await funGetUserIdByToken();
|
||||
return (
|
||||
<>
|
||||
{/* <Forum_MainDetail userLoginId={userLoginId as string} /> */}
|
||||
<Forum_V3_MainDetail userLoginId={userLoginId as string} />
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user