Fix: Db Profile
Deskripsi: - Menghapus field imagesId dan imagesBackgroundId - Menhapus table backgroundImage - Menghapus component avatar dan header card yang lama ## No Issue
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { pathAssetImage, RouterImagePreview } from "@/app/lib";
|
||||
import { RouterProfile } from "@/app/lib/router_hipmi/router_katalog";
|
||||
import {
|
||||
MODEL_VOTE_KONTRIBUTOR,
|
||||
@@ -72,7 +73,8 @@ export default function ComponentAdminVote_DetailHasil({
|
||||
span={2}
|
||||
onClick={() =>
|
||||
router.push(
|
||||
RouterProfile.katalogOLD + e?.Author?.Profile?.id
|
||||
RouterProfile.katalogOLD +
|
||||
e?.Author?.Profile?.id
|
||||
)
|
||||
}
|
||||
>
|
||||
@@ -84,12 +86,7 @@ export default function ComponentAdminVote_DetailHasil({
|
||||
}}
|
||||
radius={"xl"}
|
||||
bg={"gray.1"}
|
||||
src={
|
||||
e
|
||||
? RouterProfile.api_foto_profile +
|
||||
e?.Author?.Profile?.imagesId
|
||||
: "/aset/global/avatar.png"
|
||||
}
|
||||
src={pathAssetImage.avatar}
|
||||
/>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={5}>
|
||||
|
||||
Reference in New Issue
Block a user