From d00956503fdf0d375dbc7aeb3a6783994d7b81c8 Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Mon, 21 Jul 2025 10:07:04 +0700 Subject: [PATCH] feat: update detail media --- components/form/content/audio-detail-form.tsx | 2 +- components/form/content/image-detail-form.tsx | 2 +- components/form/content/teks-detail-form.tsx | 2 +- components/form/content/video-detail-form.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/form/content/audio-detail-form.tsx b/components/form/content/audio-detail-form.tsx index d7a8d055..37e0aef0 100644 --- a/components/form/content/audio-detail-form.tsx +++ b/components/form/content/audio-detail-form.tsx @@ -918,7 +918,7 @@ export default function FormAudioDetail() { (detail?.isInternationalMedia == true && detail?.isForwardFromNational == true && Number(detail?.statusId) == 1) ? ( - Number(detail?.uploadedById) == Number(userId) ? ( + Number(detail?.uploadedById) == Number(userId) && Number(userLevelNumber) != 1 ? ( "" ) : (
diff --git a/components/form/content/image-detail-form.tsx b/components/form/content/image-detail-form.tsx index 2b9b73fe..838c9501 100644 --- a/components/form/content/image-detail-form.tsx +++ b/components/form/content/image-detail-form.tsx @@ -969,7 +969,7 @@ export default function FormImageDetail() { (detail?.isInternationalMedia == true && detail?.isForwardFromNational == true && Number(detail?.statusId) == 1) ? ( - Number(detail?.uploadedById) == Number(userId) ? ( + Number(detail?.uploadedById) == Number(userId) && Number(userLevelNumber) != 1 ? ( "" ) : (
diff --git a/components/form/content/teks-detail-form.tsx b/components/form/content/teks-detail-form.tsx index 1c72861b..6073ea1d 100644 --- a/components/form/content/teks-detail-form.tsx +++ b/components/form/content/teks-detail-form.tsx @@ -881,7 +881,7 @@ export default function FormTeksDetail() { (detail?.isInternationalMedia == true && detail?.isForwardFromNational == true && Number(detail?.statusId) == 1) ? ( - Number(detail?.uploadedById) == Number(userId) ? ( + Number(detail?.uploadedById) == Number(userId) && Number(userLevelNumber) != 1 ? ( "" ) : (
diff --git a/components/form/content/video-detail-form.tsx b/components/form/content/video-detail-form.tsx index 03e6435f..d8c45242 100644 --- a/components/form/content/video-detail-form.tsx +++ b/components/form/content/video-detail-form.tsx @@ -884,7 +884,7 @@ export default function FormVideoDetail() { (detail?.isInternationalMedia == true && detail?.isForwardFromNational == true && Number(detail?.statusId) == 1) ? ( - Number(detail?.uploadedById) == Number(userId) ? ( + Number(detail?.uploadedById) == Number(userId) && Number(userLevelNumber) != 1 ? ( "" ) : (