fix admin voting
deskripsi: - fix tampilan html di detail
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
||||
} from "@mantine/core";
|
||||
import { Admin_ComponentLoadImageLandscape } from "../../_admin_global";
|
||||
import { AdminColor } from "@/app_modules/_global/color/color_pallet";
|
||||
import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html";
|
||||
import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html";
|
||||
|
||||
export default function ComponentAdminDonasi_CeritaPenggalangDana({
|
||||
cerita,
|
||||
@@ -28,13 +28,13 @@ export default function ComponentAdminDonasi_CeritaPenggalangDana({
|
||||
<Title c={AdminColor.white} order={5}>
|
||||
Cerita Penggalang Dana
|
||||
</Title>
|
||||
<Comp_DangerouslySetInnerHTML props={cerita.pembukaan} />
|
||||
<Comp_SetInnerHTML props={cerita.pembukaan} />
|
||||
|
||||
<Box>
|
||||
<Admin_ComponentLoadImageLandscape fileId={cerita.imageId} />
|
||||
</Box>
|
||||
|
||||
<Comp_DangerouslySetInnerHTML props={cerita.cerita} />
|
||||
<Comp_SetInnerHTML props={cerita.cerita} />
|
||||
</Stack>
|
||||
</Paper>
|
||||
</>
|
||||
|
||||
@@ -4,7 +4,7 @@ import moment from "moment";
|
||||
import "moment/locale/id";
|
||||
import { Admin_ComponentBoxStyle } from "../../_admin_global/_component/comp_admin_boxstyle";
|
||||
import { Admin_V3_ComponentDetail } from "../../_components_v3/comp_detail_data";
|
||||
import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html";
|
||||
import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html";
|
||||
|
||||
function AdminEvent_ComponentDetailData({
|
||||
data,
|
||||
@@ -57,7 +57,7 @@ function AdminEvent_ComponentDetailData({
|
||||
},
|
||||
{
|
||||
label: "Deskripsi",
|
||||
value: <Comp_DangerouslySetInnerHTML props={data?.deskripsi} />,
|
||||
value: <Comp_SetInnerHTML props={data?.deskripsi} />,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { AdminColor } from "@/app_modules/_global/color/color_pallet";
|
||||
import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html";
|
||||
import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html";
|
||||
import {
|
||||
MODEL_FORUM_KOMENTAR,
|
||||
MODEL_FORUM_POSTING,
|
||||
|
||||
@@ -27,7 +27,7 @@ import { ComponentAdminGlobal_TitlePage } from "../../_admin_global/_component";
|
||||
import { Admin_V3_ComponentPaginationBreakpoint } from "../../_components_v3/comp_pagination_breakpoint";
|
||||
import ComponentAdminForum_ButtonDeletePosting from "../component/button_delete";
|
||||
import { apiGetAdminForumPublish } from "../lib/api_fetch_admin_forum";
|
||||
import { Comp_DangerouslySetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html";
|
||||
import { Comp_SetInnerHTML } from "@/app_modules/_global/component/new/comp_set_inner_html";
|
||||
import { Comp_V3_SetInnerHTMLWithStiker } from "@/app_modules/_global/component/new/comp_V3_set_html_with_stiker";
|
||||
import { AdminForum_CompTableSetHtmlStiker } from "../component/comp_table_set_html_stiker";
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
"use client";
|
||||
|
||||
import { Comp_V3_SetInnerHTMLWithStiker } from "@/app_modules/_global/component/new/comp_V3_set_html_with_stiker";
|
||||
import { MODEL_VOTING } from "@/app_modules/vote/model/interface";
|
||||
import { Badge, ScrollArea, Stack, Text } from "@mantine/core";
|
||||
import { Badge, Stack, Text } from "@mantine/core";
|
||||
import moment from "moment";
|
||||
import { Admin_V3_ComponentDetail } from "../../_components_v3/comp_detail_data";
|
||||
|
||||
@@ -23,7 +24,7 @@ export function AdminVoting_ComponentDetail({ data }: Props) {
|
||||
},
|
||||
{
|
||||
title: "Deskripsi",
|
||||
value: data.deskripsi,
|
||||
value: <Comp_V3_SetInnerHTMLWithStiker props={data.deskripsi} />,
|
||||
},
|
||||
{
|
||||
title: "Awal voting",
|
||||
|
||||
Reference in New Issue
Block a user