diff --git a/app/[locale]/(public)/content-management/page.tsx b/app/[locale]/(public)/content-management/page.tsx
index fe4c2f99..387cd808 100644
--- a/app/[locale]/(public)/content-management/page.tsx
+++ b/app/[locale]/(public)/content-management/page.tsx
@@ -85,16 +85,18 @@ const ContentManagement = (props: { type: string }) => {

-
{profile?.fullname}
-
{profile?.username}
-
- Aktif Sejak
- {`${new Date(profile?.createdAt).getDate()}/${new Date(profile?.createdAt).getMonth() + 1}/${new Date(profile?.createdAt).getFullYear()} ${new Date(profile?.createdAt).getHours()}:${new Date(
- profile?.createdAt
- ).getMinutes()}`}
-
+
+
{profile?.fullname}
+
{profile?.username}
+
+ Aktif Sejak
+ {`${new Date(profile?.createdAt).getDate()}/${new Date(profile?.createdAt).getMonth() + 1}/${new Date(profile?.createdAt).getFullYear()} ${new Date(profile?.createdAt).getHours()}:${new Date(
+ profile?.createdAt
+ ).getMinutes()}`}
+
+
-
+
Pengaturan
@@ -110,29 +112,29 @@ const ContentManagement = (props: { type: string }) => {
-
-
Email
- msabdayagra@gmail.com
- {/* {profile?.email}
*/}
+ Email :
+ {/* msabdayagra@gmail.com
*/}
+ {profile?.email}
-
-
No Handphone
- 0812-7561-7204
- {/* {profile?.phoneNumber}
*/}
+ No Handphone :
+ {/* 0812-7561-7204
*/}
+ {profile?.phoneNumber}
-
-
Alamat
- Jl. Besar Tembung no.12
- {/* {profile?.address}
*/}
+ Alamat :
+ {/* Jl. Besar Tembung no.12
*/}
+ {profile?.address}
-
-
Kategori
- POLRI
- {/* {profile?.institute?.categoryRole?.name}
*/}
+ Kategori :
+ {/* POLRI
*/}
+ {profile?.institute?.categoryRole?.name}
-
-
Instansi/Perusahaan
- Div Humas Polri
- {/* {profile?.institute?.name}
*/}
+ Instansi/Perusahaan :
+ {/* Div Humas Polri
*/}
+ {profile?.institute?.name}
@@ -143,7 +145,7 @@ const ContentManagement = (props: { type: string }) => {
-
Galeri Div Humas
+
Galeri {profile?.institute?.name}
@@ -189,7 +191,7 @@ const ContentManagement = (props: { type: string }) => {
{/* Kontent Kanan */}
-
Galeri Div Humas
+ Galeri {profile?.institute?.name}
@@ -228,9 +230,9 @@ const ContentManagement = (props: { type: string }) => {
{selectedTab == "video" ? (
- dummyContent?.length > 0 ? (
+ profile?.length > 0 ? (
- {dummyContent?.map((video: any) => (
+ {profile?.map((video: any) => (
@@ -257,9 +259,9 @@ const ContentManagement = (props: { type: string }) => {
)
) : selectedTab == "audio" ? (
- dummyContent?.length > 0 ? (
+ profile?.length > 0 ? (
- {dummyContent?.map((audio: any) => (
+ {profile?.map((audio: any) => (
{
)
) : selectedTab == "image" ? (
- dummyContent?.length > 0 ? (
+ profile?.length > 0 ? (
- {dummyContent?.map((video: any) => (
-
+ {profile?.map((image: any) => (
+
-
-
+
+
- {formatDateToIndonesian(new Date(video?.createdAt))} {video?.timezone ? video?.timezone : "WIB"}|
- {video?.clickCount}{" "}
+ {formatDateToIndonesian(new Date(image?.createdAt))} {image?.timezone ? image?.timezone : "WIB"}|
+ {image?.clickCount}{" "}
{" "}
- {video?.title}
+ {image?.title}
@@ -332,9 +334,9 @@ const ContentManagement = (props: { type: string }) => {
)
- ) : dummyContent.length > 0 ? (
+ ) : profile.length > 0 ? (
- {dummyContent?.map((document: any) => (
+ {profile?.map((document: any) => (
)}