fix home button & portofolio button
This commit is contained in:
@@ -81,7 +81,7 @@ export default function HomeViewNew() {
|
||||
<UIGlobal_LayoutHeaderTamplate
|
||||
title="HIPMI"
|
||||
customButtonLeft={
|
||||
!dataUser && !countNtf ? (
|
||||
!dataUser || !countNtf ? (
|
||||
<ActionIcon radius={"xl"} variant={"transparent"}>
|
||||
<IconUserSearch color={MainColor.white} />
|
||||
</ActionIcon>
|
||||
@@ -108,7 +108,7 @@ export default function HomeViewNew() {
|
||||
)
|
||||
}
|
||||
customButtonRight={
|
||||
!dataUser && !countNtf ? (
|
||||
!dataUser || !countNtf ? (
|
||||
<ActionIcon radius={"xl"} variant={"transparent"}>
|
||||
<IconBell color={MainColor.white} />
|
||||
</ActionIcon>
|
||||
|
||||
@@ -118,15 +118,18 @@ export default function ComponentPortofolio_ButtonMoreNew({
|
||||
|
||||
return (
|
||||
<>
|
||||
{userLoginId === authorId ? (
|
||||
<ActionIcon variant="transparent" onClick={() => setOpenDrawer(true)}>
|
||||
<IconDotsVertical color={MainColor.white} />
|
||||
</ActionIcon>
|
||||
) : (
|
||||
<ActionIcon disabled variant="transparent">
|
||||
<CustomSkeleton h={20} w={20} radius={"100%"} />
|
||||
</ActionIcon>
|
||||
)}
|
||||
{
|
||||
userLoginId === authorId && (
|
||||
<ActionIcon variant="transparent" onClick={() => setOpenDrawer(true)}>
|
||||
<IconDotsVertical color={MainColor.white} />
|
||||
</ActionIcon>
|
||||
)
|
||||
// : (
|
||||
// <ActionIcon disabled variant="transparent">
|
||||
// <CustomSkeleton h={20} w={20} radius={"100%"} />
|
||||
// </ActionIcon>
|
||||
// )
|
||||
}
|
||||
|
||||
<UIGlobal_Drawer
|
||||
opened={openDrawer}
|
||||
|
||||
Reference in New Issue
Block a user